Skip to content

Commit

Permalink
catch specific exception ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Nov 25, 2012
1 parent 915fc0d commit c3986a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckanext/jsonpreview/plugin.py
Expand Up @@ -10,7 +10,7 @@
proxy = False
try:
import ckanext.resourceproxy.plugin as proxy
except:
except ImportError:
pass


Expand Down
2 changes: 1 addition & 1 deletion ckanext/pdfpreview/plugin.py
Expand Up @@ -9,7 +9,7 @@
proxy = False
try:
import ckanext.resourceproxy.plugin as proxy
except:
except ImportError:
pass


Expand Down

0 comments on commit c3986a1

Please sign in to comment.