sinkuri256 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

urllib2.HTTPPasswordMgrWithDefaultRealm() bug #486

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
Samsung Galaxy Tab

What firmware version are you running on the device?
2.2

What steps will reproduce the problem?
1. import urllib2
2.     passwordManager = urllib2.HTTPPasswordMgrWithDefaultRealm()
3.      passwordManager.add_password(None, url, username, password)

What is the expected output? What do you see instead?
The expected output is no fail

File urllib2.py line 728
File urllib2.py line 744
File urlparse.py line 147
The result is AttributeError: 'int' object has no attribute 'find'

What version of the product are you using? On what operating system?
SL4A latest version

Please provide any additional information below.

Original issue reported on code.google.com by caragot on 12 Dec 2010 at 5:32