Permalink
Browse files

repair IndexUtils with upstream changes

  • Loading branch information...
1 parent b3f9451 commit aa56fd1e0493ef36667e89571d27828923653c42 @mpkh mpkh committed Sep 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cabal-install/Distribution/Client/IndexUtils.hs
@@ -199,7 +199,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 aa56fd1

Please sign in to comment.