diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-05-05 20:52:26 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-05-05 20:52:26 +0200 |
commit | 726edeea4a369bfc116a35d7f4ad7afb8465e5a0 (patch) | |
tree | 081af5eeb27e7634f5b503fcef82a15f239865f4 | |
parent | closing the stream is taken care of by the context manager (diff) | |
download | java-config-726edeea4a369bfc116a35d7f4ad7afb8465e5a0.tar.gz java-config-726edeea4a369bfc116a35d7f4ad7afb8465e5a0.tar.bz2 java-config-726edeea4a369bfc116a35d7f4ad7afb8465e5a0.zip |
kill header and trim whitespaces
-rw-r--r-- | src/java_config_2/OutputFormatter.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/java_config_2/OutputFormatter.py b/src/java_config_2/OutputFormatter.py index c385da2..2e91a73 100644 --- a/src/java_config_2/OutputFormatter.py +++ b/src/java_config_2/OutputFormatter.py @@ -1,8 +1,6 @@ # -*- coding: UTF-8 -*- - # Copyright 2004-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ import os, sys @@ -44,12 +42,12 @@ class OutputFormatter: else: return prefix + message - + def __parseColor(self, message): colored = '' striped = '' replace = 0 - + for char in str(message): if replace: if char == ' ': |