Commit 46cf6260 authored by Guido Trotter's avatar Guido Trotter
Browse files

ganeti-watcher: remove unused Indent function


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 27e336af
...@@ -64,16 +64,6 @@ class NotMasterError(errors.GenericError): ...@@ -64,16 +64,6 @@ class NotMasterError(errors.GenericError):
"""Exception raised when this host is not the master.""" """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(): def ShouldPause():
"""Check whether we should pause. """Check whether we should pause.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment