/usr/lib/python2.7/dist-packages/mx/BeeBase/mxBeeBase/testjohn.py is in python-egenix-mxbeebase 3.2.8-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | import mx.BeeBase.BeeDict
def test():
d = mx.BeeBase.BeeDict.BeeDict('testjohn.dat')
d['Marc9']='Sveta'
d.commit()
d.close()
d = mx.BeeBase.BeeDict.BeeDict('testjohn.dat')
print 'original',d['Marc9']
d['Marc9']='betty1'
d.commit()
print 'dict change\t',d.changed(),d['Marc9']
del(d['Marc9'])
d.commit()
d['Marc9']='betty2'
print 'del dict change\t',d.changed(),d['Marc9']
d.close()
test()
|