소스 검색

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

shellpattern: add license, use copyright/license markup
TW 2 년 전
부모
커밋
0fa2506b92
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