Fetcher test fails in jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Fix Released
|
Undecided
|
Unassigned | ||
smart (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[tests/fetcher.py]
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/home/
httpd.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/home/
super(
TypeError: super() argument 1 must be type, not classobj
This patch from Niemeyer fixes it:
- super(HTTPServer, self).handle_
+ HTTPServer.
tags: | added: ubuntu |
Changed in smart: | |
milestone: | none → 1.3.1 |
Changed in smart: | |
status: | New → Fix Committed |
Changed in smart: | |
status: | Fix Committed → Fix Released |
This patch does not look right to me...
RuntimeError: maximum recursion depth exceeded while calling a Python object
It should be using "BaseHTTPServer .HTTPServer" for the super class, I think.
Or inherit the HTTPServer from object too ?