scripts/get_year_commits.py
def repos(self, building_stats=False):
        """
        Retrieves the last year of commits for the organization and stores them
        in weeks (UNIX time) associated with number of commits that week.
        """
        print 'Getting repos.'
        for repo in self.org_retrieved.iter_repos():
            for activity in repo.iter_commit_activity():
                if not building_stats:
                    self.commits_dict_list.append(activity)
def repos(self, building_stats=False):
        """
        Retrieves the last year of commits for the organization and stores them
        in weeks (UNIX time) associated with number of commits that week.
        """
        print 'Getting repos.'
        for repo in self.org_retrieved.iter_repos():
            for activity in repo.iter_commit_activity():
                if not building_stats:
                    self.commits_dict_list.append(activity)
Retrieves the last year of commits for the organization and stores them
        in weeks (UNIX time) associated with number of commits that week.