Code

FIX: write_xml_or_die always set Auth to None...
authorSven Velt <sven@velt.de>
Thu, 23 Sep 2010 14:47:34 +0000 (16:47 +0200)
committerSven Velt <sven@velt.de>
Thu, 23 Sep 2010 14:47:34 +0000 (16:47 +0200)
nagixsc/__init__.py

index 2a93b864f6315de3a0c7bbc53a506d861962c831..c58f54dd3e9c435f24e979ccc96f1b0cdf23c088 100644 (file)
@@ -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)