Hashar has uploaded a new change for review.

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

Change subject: base: fix missing whitespaces in check_conntrack.py
......................................................................

base: fix missing whitespaces in check_conntrack.py

Part of migrating to plain pep8 T114887

Change-Id: I85d40505ceaf31b667e8bad2d502899efef97740
---
M modules/base/files/firewall/check_conntrack.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/93/262593/1

diff --git a/modules/base/files/firewall/check_conntrack.py 
b/modules/base/files/firewall/check_conntrack.py
index 19ba2b0..3a7b895 100644
--- a/modules/base/files/firewall/check_conntrack.py
+++ b/modules/base/files/firewall/check_conntrack.py
@@ -33,7 +33,7 @@
         sys.exit(1)
 
     count_value = get_sysctl('net/netfilter/nf_conntrack_count')
-    full = int(count_value/max_value*100)
+    full = int(count_value / max_value * 100)
 
     # check what is the value of full and act upon it
     if full >= c:

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I85d40505ceaf31b667e8bad2d502899efef97740
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to