diff options
-rw-r--r-- | portato/db/__init__.py | 4 | ||||
-rw-r--r-- | portato/eix/parser.pyx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py index a58ba61..60cb1c9 100644 --- a/portato/db/__init__.py +++ b/portato/db/__init__.py @@ -38,7 +38,7 @@ def Database(type): try: from .sql import SQLDatabase except ImportError: - warning(_("Cannot load SQLDatabase.")) + warning(_("Cannot load %s."), "SQLDatabase") return Database("dict") else: return SQLDatabase(SectionDict(_SESSION, type)) @@ -53,7 +53,7 @@ def Database(type): try: from .eix_sql import EixSQLDatabase except ImportError: - warning(_("Cannot load EixSQLDatabase.")) + warning(_("Cannot load %s."), "EixSQLDatabase.") return Database("sql") else: return EixSQLDatabase(SectionDict(_SESSION, type)) diff --git a/portato/eix/parser.pyx b/portato/eix/parser.pyx index 453376e..4c8f27d 100644 --- a/portato/eix/parser.pyx +++ b/portato/eix/parser.pyx @@ -31,8 +31,6 @@ cdef extern from "stdio.h": cdef extern from "Python.h": FILE* PyFile_AsFile(object) - ctypedef int Py - ctypedef unsigned char UChar ctypedef long long LLong |