Skip to content

Commit

Permalink
no trailing newline on output
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierverdier committed Feb 4, 2015
1 parent d9f5cb8 commit 9f0da67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitstatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
changed,
untracked,
])
print(out)
print(out, end='')

2 changes: 1 addition & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ main = do
status <- mstatus
strings <- stringsFromStatus mhash status
return $ intercalate " " strings
putStrLn $ fromMaybe "" result
putStr $ fromMaybe "" result

0 comments on commit 9f0da67

Please sign in to comment.