浏览代码

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