def -> class

This commit is contained in:
simon.kagstrom 2010-02-14 09:17:41 +00:00
parent 7ab4f8f443
commit bc966b36ad

View File

@ -73,7 +73,7 @@ class DataStore:
except: except:
log_info("Cannot delete peer %s" % (peer)) log_info("Cannot delete peer %s" % (peer))
def DataEntry: class DataEntry:
def __init__(self, key, metadata, data): def __init__(self, key, metadata, data):
self.key = key self.key = key
self.metadata = metadata self.metadata = metadata