diff options
author | Joey Hess <joey@kitenet.net> | 2011-07-15 03:12:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-07-15 03:12:05 -0400 |
commit | e78475737636a5d1e0d0a36b475c300cc7bb56cc (patch) | |
tree | 1d88de569e951b66ff5321eefaec49ad4b33bf89 /UUID.hs | |
parent | 9bb797c0eae3c9d2f119a734762a6d5fa7321a80 (diff) |
hlint tweaks
Did all sources except Remotes/* and Command/*
Diffstat (limited to 'UUID.hs')
-rw-r--r-- | UUID.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ genUUID :: IO UUID genUUID = liftIO $ pOpen ReadFromPipe command params $ \h -> hGetLine h where command = SysConfig.uuid - params = if (command == "uuid") + params = if command == "uuid" -- request a random uuid be generated then ["-m"] -- uuidgen generates random uuid by default @@ -82,7 +82,7 @@ prepUUID :: Annex () prepUUID = do u <- getUUID =<< Annex.gitRepo when ("" == u) $ do - uuid <- liftIO $ genUUID + uuid <- liftIO genUUID setConfig configkey uuid {- Records a description for a uuid in the uuidLog. -} |