Ticket #157 (closed defect: fixed)
pkgcore does not tolerate -scm suffix in ebuilds
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.5 |
| Component: | pkgcore | Version: | 0.4.2 |
| Keywords: | Cc: |
Description (last modified by ferringb) (diff)
File "/usr/lib/python2.5/site-packages/pkgcore/ebuild/ebuild_built.py", line 155, in new_package
inst = self._cached_instances[args] = self.child_class(self, *args)
File "/usr/lib/python2.5/site-packages/pkgcore/package/metadata.py", line 47, in __init__
original_kls.__init__(self, *a, **kwds)
TypeError: cpv accepts either 1 arg (cpvstr), or 3 (category, package, version); all must be strings: got ('sys-apps', 'paludis-scm', None)
I would suggest that pkgcore give some nice warnings instead of errors and a nicely formatted error msg instead of a backtrace :)
Change History
Note: See
TracTickets for help on using
tickets.
