ben
unread,Oct 23, 2009, 9:33:36 AM10/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LightCloud
Just trying lighcloud & tokyo cabinet.
I've found that Lightcloud isn't deleting a list, list_remove seems to
go ok. Is this right?
>>> lightcloud.list_get('test_list')
['1', '2', '3', '1', '2', '3', '4', 'a']
>>> lightcloud.delete('test_list')
True
>>> lightcloud.list_get('test_list')
['1', '2', '3', '1', '2', '3', '4', 'a']
#try list_remove
>>>lightcloud.list_remove('test_list','2')
'ok'
>>> lightcloud.list_get('test_list')
['1', '3', '1', '3', '4', 'a']
#try delete again for luck
>>> lightcloud.delete('test_list')
True
>>> lightcloud.list_get('test_list')
['1', '3', '1', '3', '4', 'a']
#check regular value set/get/delete
>>> lightcloud.set('hello','world')
True
>>> lightcloud.get('hello')
'world'
>>> lightcloud.delete('hello')
True
>>> lightcloud.get('hello')
>>>