Move requests import into finger method so that pypi installation works

pull/9/head
Jeremy Carbaugh 2013-11-02 17:25:06 -04:00
rodzic 09212ef79e
commit 25625fccec
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1,5 +1,4 @@
import logging
import requests
__version__ = '1.0'
@ -87,6 +86,8 @@ class WebFingerClient(object):
def finger(self, resource, host=None, rel=None, raw=False):
import requests
if not host:
host = self._parse_host(resource)