aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-18 19:08:13 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-18 19:08:13 -0800
commit2477a3dc9b9ca4e7889bd894997118bf455c3213 (patch)
treefc1c48f0de461859799d9e79ed8916be50152555
parent922bb704e95f477fa502fd85411f51841b0baaee (diff)
downloadfatcat-2477a3dc9b9ca4e7889bd894997118bf455c3213.tar.gz
fatcat-2477a3dc9b9ca4e7889bd894997118bf455c3213.zip
fix typo in elastic transform code
-rw-r--r--python/fatcat_tools/transforms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/transforms.py b/python/fatcat_tools/transforms.py
index 18bf7446..f183431a 100644
--- a/python/fatcat_tools/transforms.py
+++ b/python/fatcat_tools/transforms.py
@@ -31,7 +31,7 @@ def release_to_elasticsearch(release):
ident = release.ident,
state = release.state,
)
- elif release.state != 'active'
+ elif release.state != 'active':
raise ValueError("Unhandled release state: {}".format(release.state))
# First, the easy ones (direct copy)