]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Bugfixing lib/webhooks/get_module_changes.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 3 Jan 2019 10:09:32 +0000 (11:09 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 3 Jan 2019 10:09:32 +0000 (11:09 +0100)
lib/webhooks/get_module_changes.py

index b0c4cd4adf0e687b2ceea9d2bdeac32987b01577..3fb2f307123a7c71b7b82a8a9774fcbfa6678cec 100644 (file)
@@ -139,7 +139,7 @@ class GetModuleChangesApp(BaseHookApp):
         super(GetModuleChangesApp, self).perform_arg_parser()
 
         if self.args.env:
-            self.environment = self.cmdline_args.env
+            self.environment = self.args.env
 
     # -------------------------------------------------------------------------
     def evaluate_config(self, config, yaml_file):