ganeti-watcher: remove unused Indent function
authorGuido Trotter <ultrotter@google.com>
Fri, 19 Feb 2010 12:12:16 +0000 (12:12 +0000)
committerGuido Trotter <ultrotter@google.com>
Fri, 26 Feb 2010 12:23:55 +0000 (13:23 +0100)
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

daemons/ganeti-watcher

index 32c3ac4..9a2a2a8 100755 (executable)
@@ -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.