euscanwww: Fixed Layman sync task

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-06-05 16:43:40 +02:00
parent 8501805f8e
commit 33555a9fbe

View File

@ -138,11 +138,8 @@ def emerge_sync():
@task
def layman_sync():
from layman import Layman
results = []
l = Layman()
for overlay in l.get_installed():
results.append(l.sync(overlay, output_results=False))
return results
l = Layman(config=settings.LAYMAN_CONFIG)
return l.sync(l.get_installed(), output_results=False)
@task