From cffc4dbc7529d761600bcaf5fbc63bdb308b3194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 2 Feb 2009 13:24:40 +0100 Subject: Use warning instead of debug, if the sql database could not be loaded --- portato/db/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'portato/db/__init__.py') diff --git a/portato/db/__init__.py b/portato/db/__init__.py index d77fc0d..e0919dd 100644 --- a/portato/db/__init__.py +++ b/portato/db/__init__.py @@ -13,7 +13,7 @@ from __future__ import absolute_import from ..session import Session, SectionDict -from ..helper import debug +from ..helper import debug, warning _SESSION = None _TYPE = None @@ -35,7 +35,7 @@ def Database(): try: from .sql import SQLDatabase except ImportError: - debug("Cannot load SQLDatabase.") + warning(_("Cannot load SQLDatabase.")) _TYPE = "dict" return Database() else: -- cgit v1.2.3