From 2477a3dc9b9ca4e7889bd894997118bf455c3213 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 18 Jan 2019 19:08:13 -0800 Subject: fix typo in elastic transform code --- python/fatcat_tools/transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.2.3