From 65b5395168b5eaf547e9ea2f995754f0133958c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 20 Feb 2009 01:26:24 +0100 Subject: Raise the type and not 'type' --- portato/db/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/db') 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 -- cgit v1.2.3