Ori.livneh has uploaded a new change for review.

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

Change subject: Fix bug in xenon-log
......................................................................

Fix bug in xenon-log

path -> self.path

Change-Id: I2ccaa17d9c18f491c8d1e22367370c4bcd771169
---
M modules/xenon/files/xenon-log
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/07/180707/1

diff --git a/modules/xenon/files/xenon-log b/modules/xenon/files/xenon-log
index 1e1d05c..466f8ef 100755
--- a/modules/xenon/files/xenon-log
+++ b/modules/xenon/files/xenon-log
@@ -72,7 +72,7 @@
         files = list(sorted(files, key=files.get, reverse=True))
         for file in files[self.retain:]:
             try:
-                os.remove(os.path.join(path, file))
+                os.remove(os.path.join(self.path, file))
             except OSError:
                 continue
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ccaa17d9c18f491c8d1e22367370c4bcd771169
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to