diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-05 13:17:30 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2012-10-05 13:17:30 +0200 |
commit | 0bec9d3b303212d9a6c66117e759999cd7443146 (patch) | |
tree | db6d7d1c26a789e5943c8296961405faaa7821d2 /chimere/utils.py | |
parent | e784740dd6356417bfb6627c68e3e68bbdfb8916 (diff) | |
download | Chimère-0bec9d3b303212d9a6c66117e759999cd7443146.tar.bz2 Chimère-0bec9d3b303212d9a6c66117e759999cd7443146.zip |
Import: add a command to launch import with the CLI
Diffstat (limited to 'chimere/utils.py')
-rw-r--r-- | chimere/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/utils.py b/chimere/utils.py index 537562a..9398488 100644 --- a/chimere/utils.py +++ b/chimere/utils.py @@ -158,7 +158,7 @@ class ImportManager: source = open(source) except IOError, msg: return (None, msg) - except urllib2.URLError as error: + except (urllib2.URLError, AttributeError) as error: return (None, error.message) if self.importer_instance.zipped: try: |