diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-18 19:08:13 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-18 19:08:13 -0800 |
commit | 2477a3dc9b9ca4e7889bd894997118bf455c3213 (patch) | |
tree | fc1c48f0de461859799d9e79ed8916be50152555 /python/fatcat_tools | |
parent | 922bb704e95f477fa502fd85411f51841b0baaee (diff) | |
download | fatcat-2477a3dc9b9ca4e7889bd894997118bf455c3213.tar.gz fatcat-2477a3dc9b9ca4e7889bd894997118bf455c3213.zip |
fix typo in elastic transform code
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r-- | python/fatcat_tools/transforms.py | 2 |
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) |