瀏覽代碼

more explicit return

Guénaël Muller 7 年之前
父節點
當前提交
42e084bf08
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      tracim/tracim/lib/utils.py

+ 1 - 2
tracim/tracim/lib/utils.py 查看文件

187
     """
187
     """
188
     ISO8601 current date, adapted to be used in filename (for
188
     ISO8601 current date, adapted to be used in filename (for
189
     webdav feature for example), with trouble-free characters.
189
     webdav feature for example), with trouble-free characters.
190
-
191
-    :return: current date as string
190
+    :return: current date as string like "2018-03-19T15.49.27.246592"
192
     """
191
     """
193
     # INFO - G.M - 19-03-2018 - As ':' is in transform_to_bdd method in
192
     # INFO - G.M - 19-03-2018 - As ':' is in transform_to_bdd method in
194
     # webdav utils, it may cause trouble. So, it should be replaced to
193
     # webdav utils, it may cause trouble. So, it should be replaced to