Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
c8af2fb2
by Ansgar at 2020-10-31T14:58:52+01:00
1 changed file:
Changes:
... | ... | @@ -872,7 +872,7 @@ class LintianCheck(Check): |
872 | 872 |
except yaml.YAMLError as msg:
|
873 | 873 |
raise Exception('Could not read lintian tags file {0}, YAML error: {1}'.format(tagfile, msg))
|
874 | 874 |
|
875 |
- with tempfile.NamedTemporaryFile() as temptagfile:
|
|
875 |
+ with tempfile.NamedTemporaryFile(mode="w+t") as temptagfile:
|
|
876 | 876 |
os.fchmod(temptagfile.fileno(), 0o644)
|
877 | 877 |
for tags in six.itervalues(lintiantags):
|
878 | 878 |
for tag in tags:
|