Hi,
To fix this error:
Pungi.Gather:INFO: Finished downloading packages.
Traceback (most recent call last):
File "/usr/bin/pungi", line 178, in <module>
main()
File "/usr/bin/pungi", line 68, in main
mygather.makeCompsFile()
File "/usr/lib/python2.5/site-packages/pypungi/gather.py", line 397,
in makeCompsFile
ourcomps.writelines(compslines[start:end])
UnboundLocalError: local variable 'start' referenced before assignment
--- /usr/lib/python2.5/site-packages/pypungi/gather.py.orig 2007-11-01 14:45:09.000000000 +0000
+++ /usr/lib/python2.5/site-packages/pypungi/gather.py 2007-11-01 14:45:17.000000000 +0000
@@ -391,7 +391,7 @@ class Gather(pypungi.PungiBase):
end = compslines.index(line)
for line in compslines:
- if line.startswith('<comps>'):
+ if line.startswith('<comps'):
start = compslines.index(line) + 1
ourcomps.writelines(compslines[start:end])
--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list