Example #1
0
    def __init__(self, repo, client=None):
        self._ident = Identifier.from_string(repo)

        if self._ident.repo is None:
            raise GithubError("Invalid repo string '{0}'".format(repo))

        self.org = self._ident.org
        self.repo = self._ident.repo
        self.client = client or make_client(self._ident)
Example #2
0
 def __init__(self, org, client=None):
     self._ident = Identifier.from_string(org)
     self.org = self._ident.org
     self.client = client or make_client(self._ident)
Example #3
0
 def __init__(self, org, client=None):
     self._ident = Identifier.from_string(org)
     self.org = self._ident.org
     self.client = client or make_client(self._ident)