Factorize job selection in “gnt-job cancel”
authorMichael Hanselmann <hansmi@google.com>
Thu, 25 Oct 2012 15:29:51 +0000 (17:29 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 26 Oct 2012 12:37:53 +0000 (14:37 +0200)
commitfeec4cc5c269bd2c49a51a6fbd2ee9b41377e870
treea64f47a861038ef201ca719af46a5b330ebafcd4
parent6b96df59e1820825a96d5457360fe195f048d3ac
Factorize job selection in “gnt-job cancel”

This will also be used for changing jobs' priorities. All parameters to
the common function are non-optional.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/client/gnt_job.py