Skip to content

Commit

Permalink
fix incorrect schema filtering logic
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbanin committed Mar 5, 2019
1 parent 22a2887 commit 7eb033e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/contracts/graph/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def get_used_schemas(self, resource_types=None):
return frozenset({
(node.database, node.schema)
for node in self.nodes.values()
if resource_types and node.resource_type in resource_types
if not resource_types or node.resource_type in resource_types
})

def get_used_databases(self):
Expand Down

0 comments on commit 7eb033e

Please sign in to comment.