示例#1
0
 def add_container(self, argv):
     """add_container <name>
 Adds a new container in the current location."""
     name = argv[1]
     new = netobjects.PersistentAttrDict()
     self._obj[name] = new
     slstorage.commit()
     self._reset_scopes()
示例#2
0
 def commit(self, argv):
     """commit
 Commit changes to the database now."""
     slstorage.commit()