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
Brickster committed Aug 17, 2015
1 parent b540d05 commit 3577624
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 3577624

Please sign in to comment.