Commit Graph

4 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
17e00b6db9 sendmail.py: Remove dependency on gnatpython...
... to facilitate deployment at non-AdaCore sites.
2014-12-06 12:53:21 +04:00
Joel Brobecker
e079ab73ba Replace use of gnatpython.sendmail module by updates.sendmail.
This is part of the effort trying to remove the dependency on
gnatpython to facilitate the deployment of those scripts outside
of AdaCore.
2014-12-06 12:20:27 +04:00
Joel Brobecker
0a48294a5a Use gnatpython's sendmail module for sending emails.
And since this module appears to be a little too recent to be part
of the latest gnatpython release, make a copy of that module in
our repository as well, to be used as a fallback.

For LC27-008.
2012-12-27 09:04:30 +01:00