From e5f927252329bbb26a2946ffcb225fcbb86dfa47 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 14 Mar 2009 10:01:53 +0100 Subject: [PATCH] int() Signed-off-by: Joerg Jaspert --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 89072918..24cb9044 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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): """ -- 2.39.2