summaryrefslogtreecommitdiff
path: root/portato/log.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-19 18:07:09 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-19 18:07:09 +0200
commit2d8f0114af0d278c035db42bb16f7790f17da05e (patch)
tree19b3ca3fddf4beaf2010196ff42a46ca9e0066ab /portato/log.py
parentc1ddcd3bd5ec15c9359f03f096b0c83391e4e48b (diff)
downloadportato-2d8f0114af0d278c035db42bb16f7790f17da05e.tar.gz
portato-2d8f0114af0d278c035db42bb16f7790f17da05e.tar.bz2
portato-2d8f0114af0d278c035db42bb16f7790f17da05e.zip
Replace 'Portage Warning' by 'External Warning'
Diffstat (limited to '')
-rw-r--r--portato/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/log.py b/portato/log.py
index b6462e9..fecc5f6 100644
--- a/portato/log.py
+++ b/portato/log.py
@@ -106,7 +106,7 @@ import warnings
def showwarnings(msg, cat, filename, lineno, file = None, line = None):
msg = warnings.formatwarning(msg, cat, filename, lineno, line)
- record = logging.LogRecord("portatoLogger", logging.WARNING, filename, lineno, "Portage Warning: %s", (msg,), None)
+ record = logging.LogRecord("portatoLogger", logging.WARNING, filename, lineno, "External Warning: %s", (msg,), None)
logging.getLogger("portatoLogger").handle(record)
warnings.showwarning = showwarnings