This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

pupdatenotify_updatecheck.diff

By: a guest on Oct 31st, 2010  |  syntax: Diff  |  size: 0.45 KB  |  views: 47  |  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. --- pupdatenotifier/updatecheck.py.orig 2010-11-01 03:01:24.000000000 +0200
  2. +++ pupdatenotifier/updatecheck.py      2010-11-01 03:02:53.458388958 +0200
  3. @@ -42,7 +42,9 @@
  4.                         pipe = os.popen("pacman -Sl", "r")
  5.                         for line in pipe:
  6.                                 data = line.replace(os.linesep,"")
  7. -                               repo, name, version = data.split(" ")
  8. +                               splitted = data.split(" ")
  9. +                               name = splitted[1]
  10. +                               version = splitted[2]
  11.                                 repopackages.append((name,version))
  12.                         pipe.close()
clone this paste RAW Paste Data