python-etcd
python-etcd copied to clipboard
Stringify username and password
While testing, I passed in a test password of 123. This caused the following error:
File "/usr/lib/python2.7/site-packages/etcd/client.py", line 932, in _get_headers
credentials = ':'.join((self.username, self.password))
TypeError: sequence item 1: expected string, int found
I've set my own project to stringify the username and password, but I thought it might be helpful upstream.
@techhat yes definitely, I most surely didn't think people could use numeric passwords, to be honest :P
Well, they shouldn't (I never would outside of testing), but they can and they will.
Closing for lack of activity