aboutsummaryrefslogtreecommitdiff
path: root/patchwork/management/commands/cron.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen.finucane@intel.com>2015-08-21 15:32:16 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2015-09-17 17:57:36 +0100
commitac63b6b3564186191928044528e2afda862b7bc0 (patch)
treec86cade0bdbd1411b78f1971ebd9a8b9fe029af1 /patchwork/management/commands/cron.py
parent56febdf94df1ea454e49e9e1a8cc4cbc63e42068 (diff)
downloadpatchwork-ac63b6b3564186191928044528e2afda862b7bc0.tar
patchwork-ac63b6b3564186191928044528e2afda862b7bc0.tar.gz
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>
Diffstat (limited to 'patchwork/management/commands/cron.py')
0 files changed, 0 insertions, 0 deletions