Commit Graph

6 Commits

Author SHA1 Message Date
Nicolas Roche
b750a823bf Review patch discarding mechanism
Fix issue where Ada line start with '-- ' was matched as the start
of a patch.
2018-02-02 10:01:02 +01:00
Olivier Ramonat
f3ed5b7ae5 Sort imports by running isort
This change was done by running:

  isort -rc e3 && isort -rc tests

Closes #15
2016-11-26 15:20:17 +01:00
Olivier Ramonat
a31da073fe Fixes for Python3
Change-Id: I5515e761e6d43aa3a5154f1398fc5e4cc74a5494
2016-06-10 17:08:27 +02:00
Olivier Ramonat
904dfed180 Use print_function everywhere
2to3 cannot detect use of `print` in command line spawned via
subprocess.Popen. To avoid confusion force the use of print_function
everwhere by adding:

from __future__ import print_function

Change-Id: Ia18eb4e6fbe0ca042661382a93959f06768317ff
2016-04-20 12:15:36 +02:00
Olivier Ramonat
1142a5e899 Review E3 exception handling
All E3Error supports at least two parameters: origin and message.

origin can be set to provide more information on the "origin" of the
exception, e.g. the function name, class name, or module name.

Change-Id: I36efe1a678cc82ab742edb8799e1ac324660dcb0
2016-01-11 23:36:18 +01:00
Olivier Ramonat
3cb21dd754 Initial revision of E3 core package 2015-12-10 12:34:39 +01:00