-
Committer:
Martin Pitt
-
Date:
2012-05-31 15:55:31 UTC
-
Revision ID:
martin.pitt@ubuntu.com-20120531155531-jei8198jc2dncbks
worker.py: Get along with apt-key returning non-zero on success
With current apt, apt-key exits with code 2 even on success. In that case,
check the output and only raise an error if the total number of processed keys
is 0. Also change the decoding to work with Python 2.