Ori.livneh has submitted this change and it was merged.

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

Approvals:
  Ori.livneh: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: I2ccaa17d9c18f491c8d1e22367370c4bcd771169
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>

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

Reply via email to