remove unused

This commit is contained in:
Faik Uygur
2007-04-27 09:03:09 +00:00
parent 9960d86b53
commit 25611fd6e2
-4
View File
@@ -61,10 +61,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)