Loading cloudcontrol/common/tql/db/db.py +2 −0 Original line number Diff line number Diff line Loading @@ -266,6 +266,8 @@ class TqlDatabase(object): """ if obj.id not in self._objects: self._objects[obj.id] = obj else: raise TqlDatabaseError('An object is already registered with this id') def unregister(self, obj): """ Unregister an object from the database. Loading Loading
cloudcontrol/common/tql/db/db.py +2 −0 Original line number Diff line number Diff line Loading @@ -266,6 +266,8 @@ class TqlDatabase(object): """ if obj.id not in self._objects: self._objects[obj.id] = obj else: raise TqlDatabaseError('An object is already registered with this id') def unregister(self, obj): """ Unregister an object from the database. Loading