From patchwork Thu Dec 13 01:25:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: patch.bbclass: Finally remove support for deprecated "pnum=". Date: Thu, 13 Dec 2012 01:25:50 -0000 From: Robert P. J. Day X-Patchwork-Id: 40867 Message-Id: To: OE Core mailing list Signed-off-by: Robert P. J. Day --- someone else is welcome to apply this if it seems appropriate. diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass index ed12802..31f76f6 100644 --- a/meta/classes/patch.bbclass +++ b/meta/classes/patch.bbclass @@ -33,9 +33,6 @@ def src_patches(d, all = False ): patchparm = {'patchname': patchname} if "striplevel" in parm: striplevel = parm["striplevel"] - elif "pnum" in parm: - #bb.msg.warn(None, "Deprecated usage of 'pnum' url parameter in '%s', please use 'striplevel'" % url) - striplevel = parm["pnum"] else: striplevel = '1' patchparm['striplevel'] = striplevel