File: basicauth.diff

package info (click to toggle)
ndg-httpsclient 0.3.2-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 224 kB
  • sloc: python: 1,050; makefile: 18; sh: 1
file content (13 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: ndg_httpsclient-0.3.2/ndg/httpsclient/utils.py
===================================================================
--- ndg_httpsclient-0.3.2.orig/ndg/httpsclient/utils.py
+++ ndg_httpsclient-0.3.2/ndg/httpsclient/utils.py
@@ -339,7 +339,7 @@ def main():
     else:
         data = None
     
-    if options.basicauth:
+    if options.auth:
         http_basicauth = options.auth.split(':', 1)
     else:
         http_basicauth = None