Esempio n. 1
0
 def __init__(self,
              username=config.GITHUB_USERNAME,
              password=config.GITHUB_PASSWORD,
              repository=config.REPOSITORIES,
              path=config.PATH,
              branch=config.BRANCH):
     self.username = username
     self.password = password
     self.repository = repository
     self.path = path
     self.branch = branch
     Github.__init__(self, username, password)
Esempio n. 2
0
 def __init__(self, username, password, repo):
     Github.__init__(self, username, password)
     self.repo = self.get_repo(repo)
     self.last_modified = self.get_commits()[0].last_modified