summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2015-03-13 09:21:31 +0100
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-03-13 09:21:31 +0100
commitd465548566e4ec28c893cd7e1bc28e7bbb702d5c (patch)
tree9d488eca5adbcba0aca1957dc36cef4280b10b7f
parent319cdeaf95ec305108b243c2725d2df204e1355b (diff)
Added missing imports to monkey patch.
- Issue #313
-rw-r--r--service/pixelated/support/ext_keymanager_fetch_key.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/service/pixelated/support/ext_keymanager_fetch_key.py b/service/pixelated/support/ext_keymanager_fetch_key.py
index a9478a43..08f70eb5 100644
--- a/service/pixelated/support/ext_keymanager_fetch_key.py
+++ b/service/pixelated/support/ext_keymanager_fetch_key.py
@@ -14,6 +14,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
import leap.keymanager
+import requests
+import logging
+from leap.keymanager.errors import KeyNotFound
+
+
+logger = logging.getLogger(__name__)
def patched_fetch_keys_from_server(self, address):