]> git.ozlabs.org Git - patchwork/commit
management: Resolve a bug with 'retag' command
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 21 Aug 2015 14:32:16 +0000 (15:32 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Thu, 17 Sep 2015 16:57:36 +0000 (17:57 +0100)
commitac63b6b3564186191928044528e2afda862b7bc0
treec86cade0bdbd1411b78f1971ebd9a8b9fe029af1
parent56febdf94df1ea454e49e9e1a8cc4cbc63e42068
management: Resolve a bug with 'retag' command

Calling 'retag' without a list of patch IDs will cause an Exception.
This is due to an invalid attempt to filter patches using this empty
argument. Resolve this by only filtering when we have arguments to
filter with.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
patchwork/management/commands/retag.py