aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/format.py
Commit message (Collapse)AuthorAge
* 8bit GuidoGuido Günther2018-02-26
|
* gbp.git: Python compatibility fixesMarkus Lehtonen2018-01-12
| | | | | | | | | | | Make gbp compatible with older versions of Python 3. As 'bytes' objects do not support the '%' operator until Python v3.5 we introduce a format_b() wrapper that handles this. NOTE: This change should be reverted when Python v3.5 (or newer) has been widely adopted. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Python3: Fix doctest exception namesGuido Günther2017-08-02
| | | | Python3 prefixes the module names
* format: flake8 cleanGuido Günther2016-09-12
|
* Fix FSF address - thanks rpmlintEvgeni Golov2015-06-22
| | | | use gnu.org/licences instead of a postal address, as suggested by Guido
* gbp.format: rename format_msg() to format_str()Markus Lehtonen2015-04-01
| | | | | | | The new name more precisely describes it as it can be used to format any strings (e.g. tag names) and not only messages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* gbp.format: fix one typo and indentationMarkus Lehtonen2015-02-20
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Improve error messages on formatting errorsGuido Günther2014-08-19
Make it easier for the user to detect misformated replacement strings in config files and command line options.