Переглянути джерело

shellpattern: add license, use copyright/license markup

Thomas Waldmann 2 роки тому
батько
коміт
88b9868159
1 змінених файлів з 2 додано та 1 видалено
  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