Skip to content

Commit

Permalink
Fix upstream printing blank line
Browse files Browse the repository at this point in the history
Fixes #15
  • Loading branch information
Marcus Rosenow authored and Marcus Rosenow committed Aug 17, 2015
1 parent 918d4f7 commit c40b5cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/git-upstream
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def main():
dest='include_remote'
)

print upstream.upstream(**vars(parser.parse_args()))
upstream_output = upstream.upstream(**vars(parser.parse_args()))
if upstream_output:
print upstream_output

if __name__ == '__main__':
main()

0 comments on commit c40b5cf

Please sign in to comment.