We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a90334 commit bfcfa13Copy full SHA for bfcfa13
roundup/backends/__init__.py
@@ -15,7 +15,7 @@
15
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17
#
18
-# $Id: __init__.py,v 1.30 2004-11-18 15:50:37 a1s Exp $
+# $Id: __init__.py,v 1.31 2004-11-20 11:31:42 a1s Exp $
19
20
'''Container for the hyperdb storage backend implementations.
21
'''
@@ -60,7 +60,8 @@ def have_backend(name):
60
return 1
61
except ImportError, e:
62
global _modules
63
- if not str(e).startswith('No module named %s' % _modules[name]):
+ if not str(e).startswith('No module named %s'
64
+ % _modules.get(name, name)):
65
raise
66
return 0
67
0 commit comments