The Pirut in rawhide, updated as of 20070302, fails to start. The traceback it
gives is as follows:
Component: Software Manager
Summary: TB3a4f1e9a __init__.py:237:reposSetup:TypeError: doRepoSetup() takes
exactly 1 argument (2 given)
Traceback (most recent call last):
File "/usr/sbin/pirut", line 462, in <module>
main()
File "/usr/sbin/pirut", line 458, in main
pm.run()
File "/usr/sbin/pirut", line 360, in run
self.doRefresh()
File "/usr/sbin/pirut", line 380, in doRefresh
self.reposSetup(pbar)
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 237, in reposSetup
self.doRepoSetup(thisrepo)
TypeError: doRepoSetup() takes exactly 1 argument (2 given)
Local variables in innermost frame:
thisrepo: None
callback: <pirut.Progress.PirutProgressCallback instance at 0xfd8a70>
self: <__main__.PackageManager object at 0xf47c10>
This is with version 1.3.2-1.fc7; and changing line 237 of the __init__.py file from
self.doRepoSetup(thisrepo)
to
self.doRepoSetup()
appears to fix it and Pirut then works as expected.