]> err.no Git - dak/commitdiff
int()
authorJoerg Jaspert <joerg@debian.org>
Sat, 14 Mar 2009 09:01:53 +0000 (10:01 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 14 Mar 2009 09:01:53 +0000 (10:01 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/dbconn.py

index 89072918a2f2c25f4a7a5c81bf39fa7c26ca36ad..24cb9044aa0579892df0936e857455d507413b49 100755 (executable)
@@ -168,7 +168,7 @@ class DBConn(Singleton):
         @return: the database id for the given suite
 
         """
-        return self.__get_id('id', 'suite', 'suite_name', suite)
+        return int(self.__get_id('id', 'suite', 'suite_name', suite))
 
     def get_section_id(self, section):
         """