summaryrefslogtreecommitdiff
path: root/Command/List.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/List.hs')
-rw-r--r--Command/List.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/List.hs b/Command/List.hs
index 1c424cddc..56ec0cd03 100644
--- a/Command/List.hs
+++ b/Command/List.hs
@@ -72,9 +72,9 @@ type RemoteName = String
type Present = Bool
header :: [(RemoteName, TrustLevel)] -> String
-header remotes = (unlines $ zipWith formatheader [0..] remotes) ++ (pipes (length remotes))
+header remotes = unlines (zipWith formatheader [0..] remotes) ++ pipes (length remotes)
where
- formatheader n (remotename, trustlevel) = (pipes n) ++ remotename ++ (trust trustlevel)
+ formatheader n (remotename, trustlevel) = pipes n ++ remotename ++ trust trustlevel
pipes = flip replicate '|'
trust UnTrusted = " (untrusted)"
trust _ = ""