From: Frank Brehm Date: Thu, 3 Jan 2019 10:09:32 +0000 (+0100) Subject: Bugfixing lib/webhooks/get_module_changes.py X-Git-Tag: 1.6.4^2~84 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=b11a9fab0365926618f7d648835e5e62422102e7;p=pixelpark%2Fpuppetmaster-webhooks.git Bugfixing lib/webhooks/get_module_changes.py --- diff --git a/lib/webhooks/get_module_changes.py b/lib/webhooks/get_module_changes.py index b0c4cd4..3fb2f30 100644 --- a/lib/webhooks/get_module_changes.py +++ b/lib/webhooks/get_module_changes.py @@ -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):