[Git][NTPsec/ntpsec][master] Generalized previous ntpmon fix to any non-UTF-8 encoding

Ian Bruene gitlab at mg.gitlab.com
Fri Sep 29 02:55:57 UTC 2017


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
98178a8c by Ian Bruene at 2017-09-28T21:55:24-05:00
Generalized previous ntpmon fix to any non-UTF-8 encoding

- - - - -


1 changed file:

- ntpclients/ntpmon


Changes:

=====================================
ntpclients/ntpmon
=====================================
--- a/ntpclients/ntpmon
+++ b/ntpclients/ntpmon
@@ -46,7 +46,7 @@ except ImportError as e:
 
 
 # LANG=C or LANG=POSIX refuse unicode when combined with curses
-if "ANSI_X3.4-1968" == sys.stdout.encoding:
+if "UTF-8" != sys.stdout.encoding:
     ntp.util.deunicode_units()
 
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/98178a8c68a1b9c1cbf9e9528e934b03b2c628d8

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/98178a8c68a1b9c1cbf9e9528e934b03b2c628d8
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/20170929/cbd297e4/attachment.html>


More information about the vc mailing list