diff options
author | drebs <drebs@leap.se> | 2013-04-09 10:09:38 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-04-09 10:09:38 -0300 |
commit | a8adbad77d34c66eda2a79e19b9afbc0f3d471a6 (patch) | |
tree | 5082c213fb1bea9c12746c294f019623af6353d9 /src/leap/soledad/shared_db.py | |
parent | e6ca75a9e2a7a634f92ae54238df7d86100fbdab (diff) |
Eliminate the use of super() in main code.
Tests inherited from u1db still use super, but that can be changed in the
future.
Diffstat (limited to 'src/leap/soledad/shared_db.py')
-rw-r--r-- | src/leap/soledad/shared_db.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/soledad/shared_db.py b/src/leap/soledad/shared_db.py index 5fce8ac2..01296885 100644 --- a/src/leap/soledad/shared_db.py +++ b/src/leap/soledad/shared_db.py @@ -107,8 +107,8 @@ class SoledadSharedDatabase(http_database.HTTPDatabase): @type token: str """ self._token = token - super(SoledadSharedDatabase, self).__init__(url, document_factory, - creds) + http_database.HTTPDatabase.__init__(self, url, document_factory, + creds) def _request(self, method, url_parts, params=None, body=None, content_type=None, auth=True): @@ -142,7 +142,8 @@ class SoledadSharedDatabase(http_database.HTTPDatabase): if not params: params = {} params['auth_token'] = self._token - return super(SoledadSharedDatabase, self)._request( + return http_database.HTTPDatabase._request( + self, method, url_parts, params, body, |