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 <gentoo-commits+bounces-340764-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QGKUI-0004j1-Mm
	for garchives@archives.gentoo.org; Sun, 01 May 2011 00:26:14 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 70CA51C004;
	Sun,  1 May 2011 00:26:07 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3B3A61C004
	for <gentoo-commits@lists.gentoo.org>; Sun,  1 May 2011 00:26:06 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 50B8D1B400A
	for <gentoo-commits@lists.gentoo.org>; Sun,  1 May 2011 00:26:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id 7DB9080505
	for <gentoo-commits@lists.gentoo.org>; Sun,  1 May 2011 00:26:05 +0000 (UTC)
From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" <brian.dolbec@gmail.com>
Message-ID: <d1520e65968d61eb100133ab1248e00bc79ac3e9.dol-sen@gentoo>
Subject: [gentoo-commits] proj/layman:master commit in: layman/
X-VCS-Repository: proj/layman
X-VCS-Files: layman/api.py
X-VCS-Directories: layman/
X-VCS-Committer: dol-sen
X-VCS-Committer-Name: Brian Dolbec
X-VCS-Revision: d1520e65968d61eb100133ab1248e00bc79ac3e9
Date: Sun,  1 May 2011 00:26:05 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: fd77ac7a75c65e94a6896ab5ad7b6df5

commit:     d1520e65968d61eb100133ab1248e00bc79ac3e9
Author:     dol-sen <brian.dolbec <AT> gmail <DOT> com>
AuthorDate: Sun May  1 00:26:06 2011 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Sun May  1 00:26:06 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D=
commit;h=3Dd1520e65

fix the wrong return value for sync() move an ouptut to .debug

---
 layman/api.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/layman/api.py b/layman/api.py
index b71dd72..7e4ad0e 100644
--- a/layman/api.py
+++ b/layman/api.py
@@ -367,7 +367,7 @@ class LaymanAPI(object):
=20
         self.sync_results =3D (success, warnings, fatals)
=20
-        return fatals !=3D []
+        return fatals =3D=3D []
=20
=20
     def fetch_remote_list(self):
@@ -387,8 +387,8 @@ class LaymanAPI(object):
=20
     def get_available(self, dbreload=3DFalse):
         """returns the list of available overlays"""
-        self.output.info('LaymanAPI.get_available() dbreload =3D %s'
-            % str(dbreload))
+        self.output.debug('LaymanAPI.get_available() dbreload =3D %s'
+            % str(dbreload), 8)
         if self._available_ids is None or dbreload:
             self._available_ids =3D self._get_remote_db(dbreload).list_i=
ds()
         return self._available_ids[:] or ['None']