summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2014-12-07 22:35:43 -0500
committerDevan Franchini <twitch153@gentoo.org>2014-12-07 22:35:43 -0500
commit0b0e1596cb484bc75e52d50685a4def76295a81a (patch)
treefe81e480408caac26176bc1eab7e7c7ae3d67472
parentRenames layman sync plugin to laymanator (diff)
downloadlayman-0b0e1596cb484bc75e52d50685a4def76295a81a.tar.gz
layman-0b0e1596cb484bc75e52d50685a4def76295a81a.tar.bz2
layman-0b0e1596cb484bc75e52d50685a4def76295a81a.zip
laymanator.py: Adds funny phrases to logging on a successful add/sync
-rw-r--r--layman/laymanator/laymanator.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/layman/laymanator/laymanator.py b/layman/laymanator/laymanator.py
index a7cd32b..5594627 100644
--- a/layman/laymanator/laymanator.py
+++ b/layman/laymanator/laymanator.py
@@ -51,7 +51,7 @@ def create_overlay_package(config=None, repo=None, logger=None, xterm_titles=Non
ovl = Overlay.Overlay(config=config, ovl_dict=overlay, ignore=1)
return (repo.name, ovl)
- msg = '!!! layman.plugin.create_overlay(), Error: repo not found.'
+ msg = '!!! laymanator sez... Error: repo not found.'
if logger and xterm_titles:
logger(xterm_titles, msg)
writemsg_level(msg + '\n', level=logging.ERROR, noiselevel=-1)
@@ -129,6 +129,9 @@ class Layman(SyncBase):
% ({'repo': self.repo.name})
self.logger(self.xterm_titles, msg)
writemsg_level(msg + "\n")
+ msg = '>>> laymanator sez... "Hasta la add ya, baby!"'
+ self.logger(self.xterm_titles, msg)
+ writemsg_level(msg + "\n")
return (exitcode, True)
@@ -167,6 +170,9 @@ class Layman(SyncBase):
% ({'repo': self.repo.name})
self.logger(self.xterm_titles, msg)
writemsg_level(msg + "\n")
+ msg = '>>> laymanator sez... "Hasta la sync ya, baby!"'
+ self.logger(self.xterm_titles, msg)
+ writemsg_level(msg + "\n")
return (exitcode, True)
@@ -303,6 +309,9 @@ class PyLayman(SyncBase):
% ({'repo': self.repo.name})
self.logger(self.xterm_titles, msg)
writemsg_level(msg + '\n')
+ msg = '>>> laymanator sez... "Hasta la add ya, baby!"'
+ self.logger(self.xterm_titles, msg)
+ writemsg_level(msg + '\n')
return (exitcode, True)
@@ -336,5 +345,8 @@ class PyLayman(SyncBase):
% ({'repo': self.repo.name})
self.logger(self.xterm_titles, msg)
writemsg_level(msg + "\n")
+ msg = '>>> laymanator sez... "Hasta la sync ya, baba!"'
+ self.logger(self.xterm_titles, msg)
+ writemsg_level(msg + "\n")
return (exitcode, True)