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()
def commit(self, argv): """commit Commit changes to the database now.""" slstorage.commit()