Пример #1
0
 def quality(self, quality):
     """a measurment information, if this is just "beta", or reviewed ..."""
     if len(quality) == 0:
         return
     if not quality in knowl_qualities:
         logger.warning("quality '%s' is not allowed")
         return
     self._quality = quality
     self._store_db("quality", quality)
Пример #2
0
 def quality(self, quality):
     """a measurment information, if this is just "beta", or reviewed ..."""
     if len(quality) == 0:
         return
     if not quality in knowl_qualities:
         logger.warning("quality '%s' is not allowed")
         return
     self._quality = quality
     self._store_db("quality", quality)