Alexandros Kosiaris has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/356346 )

Change subject: Change the change for the future parser invocation
......................................................................

Change the change for the future parser invocation

Look into the change for future parser invocation instead of production

Change-Id: Ie635ce20baff0e40f6607d93d9a808002489a54c
---
M puppet_compiler/controller.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/puppet-compiler 
refs/changes/46/356346/1

diff --git a/puppet_compiler/controller.py b/puppet_compiler/controller.py
index ef3132d..28b1311 100644
--- a/puppet_compiler/controller.py
+++ b/puppet_compiler/controller.py
@@ -217,7 +217,7 @@
             _log.debug("Failed command: %s", e.cmd)
             errors += self.E_PROD
         args = []
-        if os.path.isfile(os.path.join(self.m.prod_dir, '.future')):
+        if os.path.isfile(os.path.join(self.m.change_dir, '.future')):
             args.append('--parser=future')
         try:
             _log.info("Compiling host %s (change)", self.hostname)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie635ce20baff0e40f6607d93d9a808002489a54c
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/puppet-compiler
Gerrit-Branch: master
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to