changeset 1888:f08df3e9c53e

fix wrong name in error handling of storage uri parser
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 22 Dec 2012 16:18:24 +0100
parents 4fd856db8a4b
children 38454bb987f8 25e8221e99af
files MoinMoin/storage/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/storage/__init__.py	Sat Dec 22 16:17:17 2012 +0100
+++ b/MoinMoin/storage/__init__.py	Sat Dec 22 16:18:24 2012 +0100
@@ -33,7 +33,7 @@
     """
     backend_name_uri = uri.split(':', 1)
     if len(backend_name_uri) != 2:
-        raise ValueError("malformed backend uri: {0}".format(backend_uri))
+        raise ValueError("malformed backend uri: {0}".format(uri))
     backend_name, backend_uri = backend_name_uri
     module = __import__(BACKENDS_PACKAGE + '.' + backend_name, globals(), locals(), ['MutableBackend', ])
     return module.MutableBackend.from_uri(backend_uri)