예제 #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)