Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 23, 2019
1 parent 82f8dfb commit c31f1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pirogue/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __view(self) -> str:
types='\n '.join(["WHEN {shal}.{mrf} IS NOT NULL THEN '{al}'::text"
.format(shal=table_def['short_alias'], mrf=table_def['ref_master_key'], al=alias)
for alias, table_def in self.joins.items()]),
no_subtype="{type}''::text".format(self.view_alias if self.allow_parent_only else 'unknown'),
no_subtype="'{type}'::text".format(type=self.view_alias if self.allow_parent_only else 'unknown'),
type_name=self.type_name,
master_columns=select_columns(self.cursor, self.master_schema, self.master_table,
table_alias=self.view_alias,
Expand Down

0 comments on commit c31f1c1

Please sign in to comment.