summaryrefslogtreecommitdiff
path: root/portato/db/__init__.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-11 01:39:31 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-11 01:39:31 +0200
commitd9a7cd1da64da57bea05e5b234b9d9c6fea7f911 (patch)
tree65955560af923d5fc5a6517f8362903f840d13ee /portato/db/__init__.py
parent3c52ca58438e77d791a5cd5a2e3e0427445e93c2 (diff)
downloadportato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.gz
portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.tar.bz2
portato-d9a7cd1da64da57bea05e5b234b9d9c6fea7f911.zip
applied 2to3 and fixed the result
Diffstat (limited to 'portato/db/__init__.py')
-rw-r--r--portato/db/__init__.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py
index 850a84e..4e18bdd 100644
--- a/portato/db/__init__.py
+++ b/portato/db/__init__.py
@@ -10,8 +10,6 @@
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>
-from __future__ import absolute_import
-
from . import database as db
from .exceptions import UnknownDatabaseTypeError, DatabaseInstantiationError
from ..session import Session, SectionDict
@@ -70,7 +68,7 @@ class Database(db.Database):
else:
error(_("Unknown database type: %s"), type)
- raise UnknownDatabaseTypeError, type
+ raise UnknownDatabaseTypeError(type)
@classmethod
def _get_session(cls):