Bastien Sevajol 6 年前
父节点
当前提交
54762abfb3
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      backend/tracim_backend/models/data.py

+ 2 - 0
backend/tracim_backend/models/data.py 查看文件

@@ -1327,6 +1327,8 @@ class Content(DeclarativeBase):
1327 1327
                    types.append(
1328 1328
                         CONTENT_TYPES.get_one_by_slug(type_label)
1329 1329
                    )
1330
+        # TODO BS 2018-08-13: This try/except is not correct: except exception
1331
+        # if we know what to except.
1330 1332
         except Exception as e:
1331 1333
             print(e.__str__())
1332 1334
             print('----- /*\ *****')