Ottomata has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/108520


Change subject: Fixing syntax error
......................................................................

Fixing syntax error

Change-Id: I0c38fcc4c89409e007f9ea96de531d46698dbf83
---
M debian/changelog
M src/ganglia_parser
2 files changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/ganglios 
refs/changes/20/108520/1

diff --git a/debian/changelog b/debian/changelog
index b1a5e5e..c0b73d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ganglios (1.3.1) precise-wikimedia; urgency=low
+
+  * Fixing syntax error in ganglios_parser
+
+ -- Andrew Otto (WMF) <o...@wikimedia.org>  Wed, 15 Jan 2014 19:25:04 +0000
+
 ganglios (1.3-1) precise-wikimedia; urgency=low
 
   * Fixing control Dependencies and policies
diff --git a/src/ganglia_parser b/src/ganglia_parser
index 6f8a165..ffc82f0 100755
--- a/src/ganglia_parser
+++ b/src/ganglia_parser
@@ -128,7 +128,7 @@
     logger.info("Retrieving ganglia data from selected hosts...")
     for host in srcHosts:
         port = 8649
-        if ':' in host
+        if ':' in host:
             (host, port) = host.split(':')
             port = int(port)
 

-- 
To view, visit https://gerrit.wikimedia.org/r/108520
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c38fcc4c89409e007f9ea96de531d46698dbf83
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/ganglios
Gerrit-Branch: master
Gerrit-Owner: Ottomata <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to