z4r / python-rtkit

Python Api for Request Tracker's REST interface
http://z4r.github.com/python-rtkit/
Other
68 stars 44 forks source link

Fix ~/.rtrc parsing #25

Closed dehnert closed 11 years ago

dehnert commented 11 years ago

Most of the options in ~/.rtrc are just a single word (like the username), but some (like query) will usually be longer. To support this, use re.split(maxsplit=1) so that we only ever get a key and a single value.

coveralls commented 11 years ago

Coverage increased (+0.0%) when pulling 531f16712b4d819e4299c28bc3209994c5ddd700 on dehnert:master into 78306d1a44080adca2e302b429beabd3d578a211 on z4r:master.

View Details