debinstall #24325 when remove a distribution ldi crashes on old incoming folders [validation pending]
For example, after having removed "hardy" from the conf files I get ldi publish myrepo Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/pymodules/python2.5/debinstall/ldi.py", line 64, in run runfunc(options, args, parser) File "/usr/lib/pymodules/python2.5/debinstall/command.py", line 54, in run self.process() File "/usr/lib/pymodules/python2.5/debinstall/ldi.py", line 348, in process destdir = self._check_repository(repository, "dists", distrib) File "/usr/lib/pymodules/python2.5/debinstall/ldi.py", line 167, in _check_repository "check" % (repository, distrib)) debinstall.exceptions.DistributionError: logilab-private: distribution 'hardy' not found. Use ldi list to check This should be ignored and maybe add a warning for the user to clean up the directory. | |
priority | normal |
---|---|
type | bug |
done in | 2.4.0 |
load | 0.200 |
load left | 0.000 |
closed by | <not specified> |