Bastien Sevajol 6 years ago
parent
commit
54762abfb3
No account linked to committer's email
1 changed files with 2 additions and 0 deletions
  1. 2 0
      backend/tracim_backend/models/data.py

+ 2 - 0
backend/tracim_backend/models/data.py View File

1327
                    types.append(
1327
                    types.append(
1328
                         CONTENT_TYPES.get_one_by_slug(type_label)
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
         except Exception as e:
1332
         except Exception as e:
1331
             print(e.__str__())
1333
             print(e.__str__())
1332
             print('----- /*\ *****')
1334
             print('----- /*\ *****')