[Git][NTPsec/ntpsec][ntp.util-codacy] pylib/poly.py: fix a mistake

James Browning gitlab at mg.gitlab.com
Mon Sep 14 13:16:11 UTC 2020



James Browning pushed to branch ntp.util-codacy at NTPsec / ntpsec


Commits:
4ee34dba by James Browning at 2020-09-14T06:15:37-07:00
pylib/poly.py: fix a mistake


- - - - -


1 changed file:

- pylib/poly.py


Changes:

=====================================
pylib/poly.py
=====================================
@@ -114,7 +114,7 @@ else:  # Python 3
     # This is the one situation where we *can* force unicode.
     if "utf-8" != sys.stdout.encoding.lower():
         forced_utf8 = True
-        sys.stdout = make_std_wrapper(sys.stdout)
+        sys.stdout = make_std_wrapper3(sys.stdout)
     if "utf-8" != sys.stderr.encoding.lower():
         forced_utf8 = True
-        sys.stderr = make_std_wrapper(sys.stderr)
+        sys.stderr = make_std_wrapper3(sys.stderr)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/4ee34dba3543ca9ebd074812cd1a3148699be5b1

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/4ee34dba3543ca9ebd074812cd1a3148699be5b1
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200914/140b9e1f/attachment.htm>


More information about the vc mailing list