Fix get-proxy-autoconfig method checking
authorLeena Gunda <leena.gunda@wipro.com>
Wed, 10 Nov 2010 11:10:00 +0000 (12:10 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 10 Nov 2010 11:10:00 +0000 (12:10 +0100)
The script should check for the "auto" method, not the "auto-config".

Fixes BMC#9178

test/get-proxy-autoconfig

index 33db0be..a93605a 100755 (executable)
@@ -28,7 +28,7 @@ for entry in services:
                method = proxy["Method"]
                print "Method = %s" % (method)
 
-               if method in ["auto-config"]:
+               if method in ["auto"]:
                        url = proxy["URL"]
                        print "URL = %s" % (url)
                        print