From 9fca54466c4e9c06d5fa42c8a7177e254507d712 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 23 Aug 2009 22:12:08 +0200 Subject: [PATCH] [entropy.db] always return dict on retrieveBranchMigration --- libraries/entropy/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy/db.py b/libraries/entropy/db.py index bf4bef429..912fc3c10 100644 --- a/libraries/entropy/db.py +++ b/libraries/entropy/db.py @@ -6988,7 +6988,7 @@ class EntropyRepository: @rtype: dict """ if not self._doesTableExist('entropy_branch_migration'): - return None + return {} cur = self.cursor.execute(""" SELECT repository, from_branch, post_migration_md5sum,