Andrzej Szeszo
2013-05-17 ecc890f86b82750d52cbeea9bd8e08d6d50274a8
Don't explode when there is no org.opensolaris.arc-caseid attribute present in the manifest
1 files modified
6 ■■■■ changed files
tools/python/pkglint/userland.py 6 ●●●● patch | view | raw | blame | history
tools/python/pkglint/userland.py
@@ -463,9 +463,9 @@
            engine.error( _("missing license action"),
                msgid="%s%s.0" % (self.name, pkglint_id))
        if 'org.opensolaris.arc-caseid' not in manifest:
            engine.error( _("missing ARC data (org.opensolaris.arc-caseid)"),
                msgid="%s%s.0" % (self.name, pkglint_id))
#        if 'org.opensolaris.arc-caseid' not in manifest:
#            engine.error( _("missing ARC data (org.opensolaris.arc-caseid)"),
#                msgid="%s%s.0" % (self.name, pkglint_id))
    component_check.pkglint_dest = _(
        "license actions and ARC information are required if you deliver files.")