Commit 9454112
Shakeel Mohamed
Replace tarfile.add() named arguments with positional arguments.
This change was made to maintain compatibility with
Python 2.6 and Python 2.7, and follows the suggested
fix in the docs: https://docs.python.org/2/library/tarfile.html#tarfile.TarFile.add
In Python 2.6, the `exclude` named argument was added.
In Python 2.7, the `filter` named argument was added,
and `exclude` was deprecated.1 parent 0e68701 commit 9454112
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
| |||
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
192 | | - | |
| 191 | + | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments