From c4c4b6ef1b409e79393c08ed3c2a1a4f7ec46e35 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 24 Apr 2011 20:11:21 -0400 Subject: whitespace --- github3/core.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'github3') diff --git a/github3/core.py b/github3/core.py index 95716a9..db8b213 100644 --- a/github3/core.py +++ b/github3/core.py @@ -24,6 +24,7 @@ class GitHub(object): def __init__(self, apiurl=API_URL): self.__basic_auth = None + def _get(self, *path): headers = {'Accept': self.accept} @@ -38,14 +39,18 @@ class GitHub(object): return r + + def auth(self, username, password): self.__basic_auth = (username, password) return self.logged_in + def oauth(self): # TODO: oAuth pass + @property def logged_in(self): r = self._get('') -- cgit v1.2.3-59-g8ed1b