unnecessary, unused and evil code

This commit is contained in:
Mehmet D. Akın
2007-03-19 08:27:12 +00:00
parent ccd19366ed
commit 4b55007379
-4
View File
@@ -59,10 +59,6 @@ class DBShelf:
#def __del__(self):
# self.close()
allowed_chars = string.letters + string.digits + '-'
def check_key(key):
return pisi.util.all(lambda x: x in allowed_chars, key)
def has_key(self, key, txn = None):
if txn:
return self.db.has_key(key, txn)