From 9e6bd9c2190fd1bafd625cf57e86f7e392fd6628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 15 Jun 2016 15:59:36 +0200 Subject: [PATCH] Fixed bug in status check in update_file_name --- pillar/application/utils/gcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/application/utils/gcs.py b/pillar/application/utils/gcs.py index d350deb2..e9e2aeef 100644 --- a/pillar/application/utils/gcs.py +++ b/pillar/application/utils/gcs.py @@ -148,7 +148,7 @@ def update_file_name(node): """ # Process only files that are not processing - if node['properties']['status'] == 'processing': + if node['properties'].get('status', '') == 'processing': return def _format_name(name, override_ext, size=None, map_type=u''):