saltstack/salt — pull request #3879 by archtaku (2013-02-28 08:01:38+00:00)
Title: Fix regex in salt.modules.apt._get_upgradable

Third capture group assumes no spaces in the source name, and certain
PPAs (Salt's own being one of them) contain a space. Modified the regex
so that it should work with any apt source. This fixes #3733. Also made
a couple pep8 fixes.