aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-11-13 14:53:48 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-11-13 14:53:48 -0500
commitfb6f2278be47365c14c17241c81d22ca9276a7c4 (patch)
treed7c46977e9a2c2046bc06fd3e57020d2e93091a5
parentca90b810e6e151c3308a8b911a7f6a501c739ffb (diff)
downloadkorg-helpers-fb6f2278be47365c14c17241c81d22ca9276a7c4.tar.gz
Default to project-level fromstates
Don't redefine fromstate, just take what is defined at the project level. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-xgit-patchwork-bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-patchwork-bot.py b/git-patchwork-bot.py
index 561146c..0ec96fe 100755
--- a/git-patchwork-bot.py
+++ b/git-patchwork-bot.py
@@ -1149,7 +1149,7 @@ def pwrun(repo, rsettings):
for fs in hsettings.get('fromstate', list()):
fromstate.append(fs.lower().replace(' ', '-'))
if not fromstate:
- fromstate = ['new', 'in-review']
+ fromstate = list(wantstates)
# We create patch_id->rev mapping first
revs = dict()