[Git][NTPsec/ntpsec][master] wscript: Fix for Python 2.6
Matt Selsky (@selsky)
gitlab at mg.gitlab.com
Fri Dec 9 23:02:33 UTC 2022
Matt Selsky pushed to branch master at NTPsec / ntpsec
Commits:
f022a5f2 by Fred Wright at 2022-12-09T12:15:05-08:00
wscript: Fix for Python 2.6
Python 2.6 doesn't support brace-style set initializers.
TESTED:
Build now works with Python 2.6-2.7, and 3.3-3.11.
- - - - -
1 changed file:
- wscript
Changes:
=====================================
wscript
=====================================
@@ -1034,7 +1034,7 @@ def afterparty(ctx):
os.symlink(relpath, path_source.abspath())
-python_scripts = {
+python_scripts = set([
"ntpclients/ntpdig.py",
"ntpclients/ntpkeygen.py",
"ntpclients/ntpq.py",
@@ -1042,7 +1042,7 @@ python_scripts = {
"ntpclients/ntptrace.py",
"ntpclients/ntpwait.py",
"ntpclients/ntpsnmpd.py",
-}
+])
def build(ctx):
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f022a5f25cc0f7c5684f16e0e51862d331f22847
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f022a5f25cc0f7c5684f16e0e51862d331f22847
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/20221209/3d954cb6/attachment.htm>
More information about the vc
mailing list