Skip to content

Commit

Permalink
Fallback to external httplib2 when internal is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 26, 2014
1 parent 62ba133 commit 2f2982f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@
UnsavedLayerGroup
from workspace import workspace_from_index, \
Workspace
from processing.algs.admintools import httplib2
try:
from processing.algs.admintools import httplib2
except ImportError:
# If compiled without internal httplib2: Load external
import httplib2


logger = logging.getLogger('gsconfig.catalog')
Expand Down

0 comments on commit 2f2982f

Please sign in to comment.