Bastien Sevajol 7 년 전
부모
커밋
ddca4423ca
No account linked to committer's email
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      backend/tracim_backend/lib/core/content.py

+ 3 - 0
backend/tracim_backend/lib/core/content.py 파일 보기

416
         if content_type_slug == CONTENT_TYPES.Folder.slug and not label:
416
         if content_type_slug == CONTENT_TYPES.Folder.slug and not label:
417
             label = self.generate_folder_label(workspace, parent)
417
             label = self.generate_folder_label(workspace, parent)
418
 
418
 
419
+        # TODO BS 2018-08-13: Despite that workspace is required, create_comment
420
+        # can call here with None. Must update create_comment tu require the
421
+        # workspace.
419
         if not workspace:
422
         if not workspace:
420
             workspace = parent.workspace
423
             workspace = parent.workspace
421
 
424