Skip to content

Commit

Permalink
return empty string (instead of None) to avoid polluting rendered sql (
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbanin authored Oct 16, 2017
1 parent b648b99 commit c643ac9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbt/context/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def call(name, status, data=[]):
'status': status,
'data': data
})
return ''

return call

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit c643ac9

Please sign in to comment.