示例#1
0
文件: knowl.py 项目: paulhus/lmfdb
 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
文件: knowl.py 项目: AurelPage/lmfdb
 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)