Moises Henriquez  committed 7a14a8a

Fixed problem detecting tables

  • Participants
  • Parent commits 01712ea

Comments (0)

Files changed (1)

File src/vpackager/

         cursor.execute('''select name from sqlite_master where
                 type="table" and name != "sqlite_sequence"''')
         res = cursor.fetchall()
-        if len(res) > 0:
-            return False
-        return True
+        #print ''.join(res)
+        return res[0][0] not in ('queue', 'history')
     def _cleanup_history(self):
         """ Make sure all packages that did not finish correctly are marked