1. Roger Haase
  2. moin-2.0

Commits

Thomas Waldmann  committed f08df3e

fix wrong name in error handling of storage uri parser

  • Participants
  • Parent commits 4fd856d
  • Branches default

Comments (0)

Files changed (1)

File MoinMoin/storage/__init__.py

View file
     """
     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)