From 18831c72f91d4551ada1b6e2cc99fd9dd590d141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cruz?= Date: Mon, 23 May 2016 10:45:06 +0100 Subject: [PATCH 1/2] Use the python executable specified by the environment. --- contrib/inventory/azure_rm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/inventory/azure_rm.py b/contrib/inventory/azure_rm.py index 1eeb5392317..f31f65167b8 100755 --- a/contrib/inventory/azure_rm.py +++ b/contrib/inventory/azure_rm.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2016 Matt Davis, # Chris Houseknecht, From 1fdb7613f1504e4d87536b76ada6a826837d8493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cruz?= Date: Mon, 23 May 2016 10:45:37 +0100 Subject: [PATCH 2/2] Fix whitespace. --- contrib/inventory/azure_rm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/inventory/azure_rm.py b/contrib/inventory/azure_rm.py index f31f65167b8..4de7e3682c0 100755 --- a/contrib/inventory/azure_rm.py +++ b/contrib/inventory/azure_rm.py @@ -180,7 +180,7 @@ Version: 1.0.0 import argparse import ConfigParser -import json +import json import os import re import sys