Permalink
Browse files

repair IndexUtils with upstream changes

  • Loading branch information...
1 parent 905e45f commit 4aa2ecee4fc2286e7e7a8f425229bff424df14ac @mpkh mpkh committed Sep 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cabal-install/Distribution/Client/IndexUtils.hs
@@ -202,7 +202,7 @@ readRepoIndex verbosity repo =
when (dt >= isOldThreshold) $ case repoKind repo of
Left remoteRepo -> warn verbosity $
"The package list for '" ++ remoteRepoName remoteRepo
- ++ "' is " ++ show (tdDay diff) ++ " days old.\nRun "
+ ++ "' is " ++ show dt ++ " days old.\nRun "
++ "'hackport update' to get the latest list of available packages."
Right _localRepo -> return ()

0 comments on commit 4aa2ece

Please sign in to comment.