diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-30 02:50:34 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-30 02:50:34 -0400 |
commit | 17b29176b8350adf9f6d547d59b97c965f1aad7f (patch) | |
tree | c76385e8333cd8e1624289a48645d040a4e46d07 /UUID.hs | |
parent | a7e7dda55a82cb5007c5eaa2f7752f5cefdcb1d2 (diff) |
fix handling of uuids with empty descriptions
Diffstat (limited to 'UUID.hs')
-rw-r--r-- | UUID.hs | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -100,7 +100,4 @@ uuidMap = do s <- Branch.get uuidLog return $ M.fromList $ map pair $ lines s where - pair l = - if 1 < length (words l) - then (head $ words l, unwords $ drop 1 $ words l) - else ("", "") + pair l = (head $ words l, unwords $ drop 1 $ words l) |