From 46cf626006306862ff1a3799832a3e6c104e20cf Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Fri, 19 Feb 2010 12:12:16 +0000
Subject: [PATCH] ganeti-watcher: remove unused Indent function

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 daemons/ganeti-watcher | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/daemons/ganeti-watcher b/daemons/ganeti-watcher
index 32c3ac475..9a2a2a8e0 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.
 
-- 
GitLab