fromupstream: Don't restrict patchwork ID to be number only.

Some patchwork site use Message ID for the patch_id (for example,, which is
currently unable to be picked by

Fix this by using a string instead of int for patch_id.

TEST=With usbpw pointed to in ~/.pwclientrc,
     test that `./ --bug None --test None
     pw://usbpw/` works

Change-Id: Ic94c718b0aa86f37a4b7009fc2ddb49a0f61d2c6
Tested-by: Pi-Hsun Shih <>
Reviewed-by: Douglas Anderson <>
Reviewed-by: Tzung-Bi Shih <>
Commit-Queue: Pi-Hsun Shih <>
1 file changed