Filippo Giunchedi has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/342868 )

Change subject: prometheus: python3 octal syntax
......................................................................

prometheus: python3 octal syntax

Change-Id: Ifac207f048834450939ed46df78da4b5341cd8df
---
M modules/prometheus/files/usr/local/bin/prometheus-snmp-exporter-config
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/68/342868/1

diff --git 
a/modules/prometheus/files/usr/local/bin/prometheus-snmp-exporter-config 
b/modules/prometheus/files/usr/local/bin/prometheus-snmp-exporter-config
index 7320193..f409286 100755
--- a/modules/prometheus/files/usr/local/bin/prometheus-snmp-exporter-config
+++ b/modules/prometheus/files/usr/local/bin/prometheus-snmp-exporter-config
@@ -33,7 +33,7 @@
             log.error('Empty YAML assembled')
             return 1
 
-        os.chmod(tmpconfig.name, 0400)
+        os.chmod(tmpconfig.name, 0o400)
         os.rename(tmpconfig.name, args.config_file)
 
         # Temporary file has been atomically renamed to its final destination.

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

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

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

Reply via email to