[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] int()



Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 daklib/dbconn.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index 8907291..24cb904 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):
         """
-- 
1.5.6.5


Reply to: