[Git][security-tracker-team/security-tracker][master] Fix report-vuln for Python 3

Moritz Muehlenhoff (@jmm) jmm at debian.org
Thu Jul 1 16:20:21 BST 2021



Moritz Muehlenhoff pushed to branch master at Debian Security Tracker / security-tracker


Commits:
84bdb5d9 by Moritz Mühlenhoff at 2021-07-01T17:19:57+02:00
Fix report-vuln for Python 3

- - - - -


1 changed file:

- bin/report-vuln


Changes:

=====================================
bin/report-vuln
=====================================
@@ -247,7 +247,7 @@ def main():
 
     if args.mail:
         with NamedTemporaryFile(prefix='report-vuln', suffix='.txt') as bugmail:
-            bugmail.write(text)
+            bugmail.write(text.encode())
             bugmail.flush()
             os.system(args.mailer.format(bugmail.name))
     else:



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/84bdb5d92da1216f6f128471c154ae36cbf141b3

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/84bdb5d92da1216f6f128471c154ae36cbf141b3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20210701/d571dfea/attachment.htm>


More information about the debian-security-tracker-commits mailing list