From a6cf850782d2a124ebee3d7f6867d5cd51872857 Mon Sep 17 00:00:00 2001 From: marwoodandrew Date: Thu, 30 Jun 2016 16:44:07 +1000 Subject: [PATCH] fix(dateline) missed return in first part check --- server/aap/publish/formatters/aap_odbc_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/aap/publish/formatters/aap_odbc_formatter.py b/server/aap/publish/formatters/aap_odbc_formatter.py index fd6648ef1..7c4582301 100644 --- a/server/aap/publish/formatters/aap_odbc_formatter.py +++ b/server/aap/publish/formatters/aap_odbc_formatter.py @@ -116,4 +116,4 @@ def is_last_take(self, article): return TakesPackageService().is_last_takes_package_item(article) def is_first_part(self, article): - article.get('sequence', 1) == 1 + return article.get('sequence', 1) == 1