This commit is contained in:
Kovid Goyal 2010-05-27 23:41:16 -06:00
parent 9d7907fc29
commit 352ea86428

View File

@ -57,7 +57,7 @@ class WinPNPScanner(object):
order = 0 order = 0
match = re.search(r'REV_.*?&(\d+)', pnp_id) match = re.search(r'REV_.*?&(\d+)', pnp_id)
if match is not None: if match is not None:
order = int(pnp_id) order = int(match.group(1))
return order return order
def __call__(self, debug=False): def __call__(self, debug=False):