diff options
author | 2012-02-03 02:59:53 +0100 | |
---|---|---|
committer | 2012-02-03 02:59:53 +0100 | |
commit | ae1c3c06c47866c8f392d05c63f597d71cebd691 (patch) | |
tree | 6543c55e2210bd91f59124785200d1fbfb6be872 /github3/models/base.py | |
parent | Update setup.py (diff) | |
download | python-github3-ae1c3c06c47866c8f392d05c63f597d71cebd691.tar.xz python-github3-ae1c3c06c47866c8f392d05c63f597d71cebd691.zip |
Reset project
Diffstat (limited to 'github3/models/base.py')
-rw-r--r-- | github3/models/base.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/github3/models/base.py b/github3/models/base.py deleted file mode 100644 index 5295d07..0000000 --- a/github3/models/base.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python -# -*- encoding: utf-8 -*- - -class BaseResource(object): - """A BaseResource object.""" - - def __init__(self, attrs=None): - if attrs: - for attr, value in attrs.items(): - setattr(self, attr, value) - super(BaseResource, self).__init__() - - def __len__(self): - return len(self.__dict__) - - @classmethod - def idl(self): - raise NotImplementedError('Each model need subcass that method') |