summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-20 01:26:24 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-20 01:26:24 +0100
commit65b5395168b5eaf547e9ea2f995754f0133958c3 (patch)
treeca24ec4c22a12e7b5c6834755ad060f3b227f893
parentb4864343296dc120658d4d1a4df1496f98546176 (diff)
downloadportato-65b5395168b5eaf547e9ea2f995754f0133958c3.tar.gz
portato-65b5395168b5eaf547e9ea2f995754f0133958c3.tar.bz2
portato-65b5395168b5eaf547e9ea2f995754f0133958c3.zip
Raise the type and not 'type'
Diffstat (limited to '')
-rw-r--r--portato/db/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py
index 5537c5e..2d056ea 100644
--- a/portato/db/__init__.py
+++ b/portato/db/__init__.py
@@ -50,4 +50,4 @@ def Database(type):
else:
error(_("Unknown database type: %s"), type)
- raise UnknownDatabaseTypeError, "type"
+ raise UnknownDatabaseTypeError, type