Browse Source

Merge pull request #7280 from ThomasWaldmann/shellpattern-license-master

shellpattern: add license, use copyright/license markup
TW 2 năm trước cách đây
mục cha
commit
0fa2506b92
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/borg/helpers/shellpattern.py

+ 2 - 1
src/borg/helpers/shellpattern.py

@@ -15,7 +15,8 @@ def translate(pat, match_end=r"\Z"):
 
     This function is derived from the "fnmatch" module distributed with the Python standard library.
 
-    Copyright (C) 2001-2016 Python Software Foundation. All rights reserved.
+    :copyright: 2001-2016 Python Software Foundation. All rights reserved.
+    :license: PSFLv2
 
     TODO: support {alt1,alt2} shell-style alternatives