From: Guido Trotter Date: Fri, 19 Feb 2010 12:12:16 +0000 (+0000) Subject: ganeti-watcher: remove unused Indent function X-Git-Tag: v2.1.1~58 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/46cf626006306862ff1a3799832a3e6c104e20cf ganeti-watcher: remove unused Indent function Signed-off-by: Guido Trotter Reviewed-by: Iustin Pop --- diff --git a/daemons/ganeti-watcher b/daemons/ganeti-watcher index 32c3ac4..9a2a2a8 100755 --- a/daemons/ganeti-watcher +++ b/daemons/ganeti-watcher @@ -64,16 +64,6 @@ class NotMasterError(errors.GenericError): """Exception raised when this host is not the master.""" -def Indent(s, prefix='| '): - """Indent a piece of text with a given prefix before each line. - - @param s: the string to indent - @param prefix: the string to prepend each line - - """ - return "%s%s\n" % (prefix, ('\n' + prefix).join(s.splitlines())) - - def ShouldPause(): """Check whether we should pause.