From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SNsKW-0001x9-8Q for garchives@archives.gentoo.org; Fri, 27 Apr 2012 21:03:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47D35E0A97; Fri, 27 Apr 2012 21:03:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E5C48E0A97 for ; Fri, 27 Apr 2012 21:03:44 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5819B1B400B for ; Fri, 27 Apr 2012 21:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 22445E5402 for ; Fri, 27 Apr 2012 21:03:43 +0000 (UTC) From: "Magnus Granberg" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Magnus Granberg" Message-ID: <1335560610.7fc612771c7be22af7568f7faf8deb5c4e4b9f54.zorry@gentoo> Subject: [gentoo-commits] dev/zorry:master commit in: gobs/pym/ X-VCS-Repository: dev/zorry X-VCS-Files: gobs/pym/sync.py X-VCS-Directories: gobs/pym/ X-VCS-Committer: zorry X-VCS-Committer-Name: Magnus Granberg X-VCS-Revision: 7fc612771c7be22af7568f7faf8deb5c4e4b9f54 X-VCS-Branch: master Date: Fri, 27 Apr 2012 21:03:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 462c41e2-aed1-4c13-9d7a-07059eef0246 X-Archives-Hash: c0f8a8cfba0170062350447b1d857feb commit: 7fc612771c7be22af7568f7faf8deb5c4e4b9f54 Author: Magnus Granberg gentoo org> AuthorDate: Fri Apr 27 21:03:30 2012 +0000 Commit: Magnus Granberg gentoo org> CommitDate: Fri Apr 27 21:03:30 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/zorry.git;a=3D= commit;h=3D7fc61277 Add logging sync.py part3 --- gobs/pym/sync.py | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gobs/pym/sync.py b/gobs/pym/sync.py index 22ff5e7..aecae32 100644 --- a/gobs/pym/sync.py +++ b/gobs/pym/sync.py @@ -23,11 +23,10 @@ def sync_tree(): tmpcmdline.append("--quiet") myaction, myopts, myfiles =3D parse_opts(tmpcmdline) logging.info("Eemerge --sync") - fail_sync =3D 1 + fail_sync =3D 0 #fail_sync =3D action_sync(settings, trees, mtimedb, myopts, myaction) if fail_sync is True: logging.warning("Emerge --sync fail!") - sys.exit() else: - logging.info("Emerge --sync ... Done." - sys.exit() \ No newline at end of file + logging.info("Emerge --sync ... Done.") + return