[entropy.db] properly use _doesTableExist() in contentDiff()

This commit is contained in:
Fabio Erculiani
2010-07-17 20:18:42 +02:00
parent 5c376ba9cd
commit ea4b90df8f
+1 -1
View File
@@ -1861,7 +1861,7 @@ class EntropyRepository(EntropyRepositoryBase):
# setup random table name
randomtable = "cdiff%s" % (entropy.tools.get_random_number(),)
while self._doesTableExist(randomtable):
while self._doesTableExist(randomtable, temporary = True):
randomtable = "cdiff%s" % (entropy.tools.get_random_number(),)
# create random table