new method 'delete' in storage and config

This commit is contained in:
Romain Bignon 2010-11-11 01:11:00 +01:00
commit ebe29a061f
6 changed files with 37 additions and 0 deletions

View file

@ -44,6 +44,10 @@ class ApplicationStorage(object):
if self.storage:
return self.storage.set('applications', self.name, *args)
def delete(self, *args):
if self.storage:
return self.storage.delete('applications', self.name, *args)
def get(self, *args, **kwargs):
if self.storage:
return self.storage.get('applications', self.name, *args, **kwargs)