Example #1
0
 def clearRelatedData(self):
     """
     Removes all related information from database for this environment.
     """
     Cache.delete(self._key)
     Storage.delete(self._key)
     for _, v in self._idGenerators.items():
         v.release()
Example #2
0
 def clearRelatedData(self):
     """
     Removes all related information from database for this environment.
     """
     from uds.core.util.Cache import Cache
     from uds.core.util.Storage import Storage
     Cache.delete(self._key)
     Storage.delete(self._key)
     for __, v in six.iteritems(self._idGenerators):
         v.release()
Example #3
0
 def clearRelatedData(self):
     '''
     Removes all related information from database for this environment.
     '''
     from uds.core.util.Cache import Cache
     from uds.core.util.Storage import Storage
     Cache.delete(self._key)
     Storage.delete(self._key)
     for __, v in self._idGenerators.iteritems():
         v.release()