mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-04-08 09:41:43 +00:00
Correct error message to use the real field name
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
cf4dd06e3c
commit
17a8fd6cdc
@ -518,7 +518,7 @@ class Britney(object):
|
||||
no += 1
|
||||
pkg_name = get_field('Package', None)
|
||||
if pkg_name is None:
|
||||
raise ValueError("Missing Fake-Package-Name field in paragraph %d (file %s)" % (no, faux_packages_file))
|
||||
raise ValueError("Missing Package field in paragraph %d (file %s)" % (no, faux_packages_file))
|
||||
pkg_name = sys.intern(pkg_name)
|
||||
version = sys.intern(get_field('Version', '1.0-1'))
|
||||
provides_raw = get_field('Provides')
|
||||
|
Loading…
x
Reference in New Issue
Block a user