summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py
diff options
context:
space:
mode:
authorTim <timothyasir@gluster.com>2011-08-09 18:11:30 +0530
committerTim <timothyasir@gluster.com>2011-08-09 18:11:30 +0530
commit99453fd4bd9975eeaa7616cbe2d4d47e01da3dde (patch)
treee2afd42c29c0029d6a9e3b2991117faa576995b2 /src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py
parentd54f773ac96146a7f5299d276be4778b4c9bf4e2 (diff)
Revert "Enhanced error handling and written appropriate execution error into stderr."
This reverts commit 36d1fa53d62f4c3f458b0fac58968b6fab6a271f.
Diffstat (limited to 'src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py')
-rw-r--r--src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py b/src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py
index bcc6f177..82f8b7b6 100644
--- a/src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py
+++ b/src/com.gluster.storage.management.gateway/WebContent/scripts/Utils.py
@@ -1059,8 +1059,6 @@ def log(priority, message=None):
def stripEmptyLines(content):
- if not content:
- return ""
ret = ""
for line in content.split("\n"):
if line.strip() != "":