summaryrefslogtreecommitdiff
path: root/Upgrade.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-01-31 13:52:11 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-01-31 13:52:11 -0400
commitd007e58a5437daa72062453fc6f44c5beb7d271d (patch)
tree54a132301bef084fec8ba2ce283b8ea505863f89 /Upgrade.hs
parent4a0fe24f394e9c5489bacaa5630b3cabefdf95e4 (diff)
use mapM_
Diffstat (limited to 'Upgrade.hs')
-rw-r--r--Upgrade.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Upgrade.hs b/Upgrade.hs
index 1e70e68d5..9c5a57a0c 100644
--- a/Upgrade.hs
+++ b/Upgrade.hs
@@ -41,7 +41,7 @@ upgradeFrom0 = do
-- do the reorganisation of the files
let olddir = gitAnnexDir g
keys <- getKeysPresent0' olddir
- _ <- mapM (\k -> moveAnnex k $ olddir </> keyFile k) keys
+ mapM_ (\k -> moveAnnex k $ olddir </> keyFile k) keys
-- update the symlinks to the files
files <- liftIO $ Git.inRepo g [Git.workTree g]