Bastien Sevajol hace 6 años
padre
commit
54762abfb3
No account linked to committer's email
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      backend/tracim_backend/models/data.py

+ 2 - 0
backend/tracim_backend/models/data.py Ver fichero

@@ -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('----- /*\ *****')