Commit Graph

6 Commits

Author SHA1 Message Date
Simon Marchi
a2909b2c8d Convert print statements to print function
In preparation for the transition to Python 3, convert to using the
print function.  The special import

    from __future__ import print_function

in Python 2.7 makes "print" become the function and not the statement.
In Python 3, it has no effect.  Once the transition is done and we
exclusively use Python 3, we can simply remove the imports.

The testsuite shows no regressions.
2020-11-22 19:29:38 -05:00
Joel Brobecker
168de73a97 transition default style checker to style_checker
For NA17-007.
2017-05-18 09:34:27 -07:00
Joel Brobecker
c43ac46b79 syslog.py: Fix style issue.
Part of NA17-007.
2017-05-18 09:34:25 -07:00
Joel Brobecker
e9758dbb83 syslog.py: Remove dependency on gnatpython...
This is part of the effort to make the hooks themselves independent
of gnatpython, making it easier to use them outside of AdaCore.
2014-12-06 11:28:05 +04:00
Joel Brobecker
a751230699 syslog.py: Fix pep8 violations. 2013-12-26 14:52:10 +04:00
Joel Brobecker
6157951a8f syslog trace if .no_cvs_check file turns pre-commit checks off.
Update testsuite infrastructure to allow testing of syslog tracing
without actually filing a real syslog trace.

For L605-020.
2012-12-27 19:54:25 +04:00