Ticket #24 (closed defect: wontfix)
Doesn't work with Python 2.4 urlparse module
| Reported by: | christian@… | Owned by: | heyadayo |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Orbited Daemon | Version: | Orbited 0.5.0 |
| Keywords: | Cc: | christian@… |
Description
Hey Guys
The urlparse module got a makeover from Python 2.4 -> 2.5. In 2.4 it would return a tuple and thus the following snippet from start.py doesn't work :(
url = urlparse.urlparse(addr) hostname = url.hostname
You probably need to use url[1] and manually parse the hostname and port :(
http://www.python.org/doc/2.4/lib/module-urlparse.html
http://docs.python.org/lib/module-urlparse.html
Regards,
Christian
Attachments
Change History
Note: See
TracTickets for help on using
tickets.