From bb2ce689a91de64d4e6b2191760399255f9eba6a Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sun, 17 Aug 2014 23:06:25 +0200 Subject: adjust to netlib changes --- libmproxy/cmdline.py | 2 +- libmproxy/contrib/README | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'libmproxy') diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index 500337a7..b9e62b71 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -440,7 +440,7 @@ def common_options(parser): ) user_specification_group.add_argument( "--htpasswd", - action="store", dest="auth_htpasswd", type=argparse.FileType('r'), + action="store", dest="auth_htpasswd", type=str, metavar="PATH", help="Allow access to users specified in an Apache htpasswd file." ) diff --git a/libmproxy/contrib/README b/libmproxy/contrib/README index 7dc7c87d..656df3dd 100644 --- a/libmproxy/contrib/README +++ b/libmproxy/contrib/README @@ -11,6 +11,4 @@ jsbeautifier, git checkout 25/03/12, MIT license html2text, git checkout 18/08/12, GPLv3 -md5crypt, PSF license, http://code.activestate.com/recipes/325204/ - WinDivert 1.1.4, LGPL license, http://reqrypt.org/windivert.html \ No newline at end of file -- cgit v1.2.3