Dzahn has submitted this change and it was merged.

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(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



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: merged
Gerrit-Change-Id: I85d40505ceaf31b667e8bad2d502899efef97740
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to