proper requests authentication

This commit is contained in:
Kenneth Reitz
2011-10-19 02:36:09 -04:00
parent 59b7dd6d40
commit 68ba47c464
4 changed files with 17 additions and 30 deletions
+1 -6
View File
@@ -59,6 +59,7 @@ class BaseResource(object):
_gh = gh
)
def update(self):
deploy = key_diff(self._cache, self.dict(), pack=True)
@@ -69,12 +70,6 @@ class BaseResource(object):
return r
def setattr(self, k, v):
# TODO: when writable key changed,
pass
class Plan(BaseResource):
"""Github Plan object model."""