From 8d0a8d781dcd9cc2b41af9e227be220d59860abe Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 23 Sep 2010 16:47:34 +0200 Subject: [PATCH] FIX: write_xml_or_die always set Auth to None... --- nagixsc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nagixsc/__init__.py b/nagixsc/__init__.py index 2a93b86..c58f54d 100644 --- a/nagixsc/__init__.py +++ b/nagixsc/__init__.py @@ -302,7 +302,7 @@ def write_xml(xmldoc, outfile, httpuser=None, httppasswd=None): def write_xml_or_die(xmldoc, outfile, httpuser=None, httppasswd=None): try: - response = write_xml(xmldoc, outfile, httpuser=None, httppasswd=None) + response = write_xml(xmldoc, outfile, httpuser, httppasswd) except urllib2.HTTPError, error: print error sys.exit(11) -- 2.30.2