Skip to content

Conversation

@kayvannj
Copy link

Now compatible with the mitmproxy 0.11.3

Fixes this error:
raceback (most recent call last):
File "/usr/local/bin/pmproxy", line 9, in
load_entry_point('PostmanProxy==0.1.5', 'console_scripts', 'pmproxy')()
File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 91, in main
start_creator_proxy(args)
File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 45, in start_creator_proxy
cacert = os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
TypeError: init() got an unexpected keyword argument 'cacert'

Now compatible with the mitmproxy 0.11.3

Fixes this error:
raceback (most recent call last):
  File "/usr/local/bin/pmproxy", line 9, in <module>
    load_entry_point('PostmanProxy==0.1.5', 'console_scripts', 'pmproxy')()
  File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 91, in main
    start_creator_proxy(args)
  File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 45, in start_creator_proxy
    cacert = os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
TypeError: __init__() got an unexpected keyword argument 'cacert'
@kayvannj kayvannj changed the title Fixing the "got an unexpected keyword argument 'cacert'" Resolve #2 Fixing the "got an unexpected keyword argument 'cacert'" Apr 23, 2015
@kayvannj kayvannj changed the title Resolve #2 Fixing the "got an unexpected keyword argument 'cacert'" Fixes #2 the "got an unexpected keyword argument 'cacert'" Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants