Kaydet (Commit) 427908d3 authored tarafından Faik Uygur's avatar Faik Uygur

* pythonish

üst c675f305
......@@ -193,7 +193,7 @@ class ItemByRepoDB(object):
repostr = self.repo_str(repo)
if s.has_key(repostr):
del s[repostr]
if (len(s)==0):
if not len(s):
self.d.delete(name, txn)
else:
self.d.put(name, s, txn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment