Skip to content
Snippets Groups Projects
Commit 67599c9d authored by Seblu's avatar Seblu
Browse files

fix typo in tarball.py

parent ff7d903d
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ class Tarball(tarfile.TarFile): ...@@ -40,7 +40,7 @@ class Tarball(tarfile.TarFile):
# regexp matching # regexp matching
if re_pattern is not None: if re_pattern is not None:
return [ tpname for tpname in lorig return [ tpname for tpname in lorig
if re.match(reg_pattern, tpname) ] if re.match(re_pattern, tpname) ]
# globbing matching # globbing matching
if glob_pattern is not None: if glob_pattern is not None:
return fnmatch.filter(lorig, glob_pattern) return fnmatch.filter(lorig, glob_pattern)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment