diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-11-22 16:23:52 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-11-22 16:24:23 -0300 |
commit | 453d3c6cfe81c8d3ca401dd1f5558aeae523350c (patch) | |
tree | 359b761568d8737ab6c6be9fc1ac83cc963f545e /src/leap | |
parent | 5ad4bb2dfad4cdd73273d8347f6fd29e12af80b1 (diff) |
[refactor] remove unused parameter
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/soledad/common/couch/check.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/leap/soledad/common/couch/check.py b/src/leap/soledad/common/couch/check.py index c82201bb..00c8ec87 100644 --- a/src/leap/soledad/common/couch/check.py +++ b/src/leap/soledad/common/couch/check.py @@ -24,8 +24,6 @@ from six.moves.urllib.parse import urljoin from twisted.internet import defer from urlparse import urlsplit -from twisted.internet import reactor - from leap.soledad.common.couch import CONFIG_DOC_ID from leap.soledad.common.couch import SCHEMA_VERSION from leap.soledad.common.couch import SCHEMA_VERSION_KEY @@ -88,7 +86,7 @@ def _check_db_schema_version(url, db, auth, agent=None): @defer.inlineCallbacks -def check_schema_versions(couch_url, agent=None, reactor=reactor): +def check_schema_versions(couch_url, agent=None): """ Check that all user databases use the correct couch schema. @@ -96,9 +94,6 @@ def check_schema_versions(couch_url, agent=None, reactor=reactor): :type couch_url: str :param agent: an optional agent for doing requests, used in tests. :type agent: twisted.web.client.Agent - :param reactor: an optional reactor for stopping in case of errors, used - in tests. - :type reactor: twisted.internet.base.ReactorBase """ url = urlsplit(couch_url) auth = (url.username, url.password) if url.username else None |