class MKhash:
- def __init__(self, file, flag, mode=0666, trans_threshold=1000):
+ def __init__(self, file, flag, mode=0o666, trans_threshold=1000):
self.read_only = 0
self._closed = 0
self.db.commit()
-def open(file, flag, mode=0666):
+def open(file, flag, mode=0o666):
return MKhash(file, flag, mode)