From 7609f86f92230355a16c305cda9327508639f70a Mon Sep 17 00:00:00 2001 From: Drew Banin Date: Sat, 14 Oct 2017 13:46:30 -0400 Subject: [PATCH] return empty string (instead of None) to avoid polluting rendered sql --- dbt/context/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbt/context/common.py b/dbt/context/common.py index 9524eb4ed5e..3223ed53f47 100644 --- a/dbt/context/common.py +++ b/dbt/context/common.py @@ -128,6 +128,7 @@ def call(name, status, data=[]): 'status': status, 'data': data }) + return '' return call @@ -220,6 +221,7 @@ def write(node, target_path, subdirectory): def fn(payload): node['build_path'] = dbt.writer.write_node( node, target_path, subdirectory, payload) + return '' return fn