Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Arch yum urlgrabber "size" type error patch

By: a guest on Nov 17th, 2011  |  syntax: Diff  |  size: 0.64 KB  |  hits: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Naur yum-3.4.3-orig/yum/yumRepo.py yum-3.4.3/yum/yumRepo.py
  2. --- yum-3.4.3-orig/yum/yumRepo.py       2011-11-17 09:59:00.245102708 -0700
  3. +++ yum-3.4.3/yum/yumRepo.py    2011-11-17 09:59:17.311770413 -0700
  4. @@ -1613,7 +1613,7 @@
  5.                                    checkfunc=checkfunc,
  6.                                    text=text,
  7.                                    cache=self.http_caching == 'all',
  8. -                                  size=thisdata.size)
  9. +                                  size=int(thisdata.size))
  10.          except (Errors.NoMoreMirrorsRepoError, Errors.RepoError):
  11.              if retrieve_can_fail:
  12.                  return None
  13.