merge from Adam, fixes LP: #831505

This commit is contained in:
Dustin Kirkland
2011-08-22 13:45:14 -05:00

View File

@@ -127,7 +127,7 @@ def add_sources(srclist, searchList={ }):
source=ent['source']
if source.startswith("ppa:"):
try: util.subp(["add-apt-repository",source])
try: util.subp(["add-apt-repository",source], "/dev/null")
except:
elst.append([source, "add-apt-repository failed"])
continue