one more hlint

This commit is contained in:
Joey Hess 2011-09-20 23:26:35 -04:00
parent 9f6b7935dd
commit 6dc23b889e

View file

@ -331,7 +331,7 @@ getJournalFilesRaw = do
g <- Annex.gitRepo
fs <- liftIO $ catch (getDirectoryContents $ gitAnnexJournalDir g)
(const $ return [])
return $ filter (\f -> f /= "." && f /= "..") fs
return $ filter (`notElem` [".", ".."]) fs
{- Stages all journal files into the index, and returns True if the index
- was modified. -}