diff options
author | Bernie Innocenti <bernie@codewiz.org> | 2010-08-13 16:18:56 (GMT) |
---|---|---|
committer | Bernie Innocenti <bernie@codewiz.org> | 2010-08-13 16:18:56 (GMT) |
commit | 69e1d8b3634d30033bca19edafc7086b1630a8b9 (patch) | |
tree | 54633cc1263f93f6c09ead2aaa42798e49aebecc /rpms | |
parent | 2e303f93fb8fca5573d681cfe7d0e9e1ddbbf44d (diff) |
microformat-updater: cleanup and rebase
Diffstat (limited to 'rpms')
-rw-r--r-- | rpms/sugar/microformat-updater.patch | 53 |
1 files changed, 2 insertions, 51 deletions
diff --git a/rpms/sugar/microformat-updater.patch b/rpms/sugar/microformat-updater.patch index c978449..7331556 100644 --- a/rpms/sugar/microformat-updater.patch +++ b/rpms/sugar/microformat-updater.patch @@ -1,58 +1,9 @@ -From dextrose-bounces@lists.sugarlabs.org Mon Aug 9 18:32:37 2010 -Return-Path: <dextrose-bounces@lists.sugarlabs.org> -X-Original-To: bernie@codewiz.org -Delivered-To: bernie@trinity.develer.com -Received: from solarsail.media.mit.edu (solarsail.media.mit.edu - [18.85.2.155]) by trinity.develer.com (Postfix) with ESMTPS id 875D61D6061 - for <bernie@codewiz.org>; Mon, 9 Aug 2010 18:32:37 +0200 (CEST) -X-Virus-Status: Clean -X-Virus-Scanned: clamav-milter 0.95.3 at trinity.develer.com -Received: from solarsail.media.mit.edu (localhost [127.0.0.1]) by - solarsail.media.mit.edu (Postfix) with ESMTP id 4CC458114; Mon, 9 Aug 2010 - 12:32:36 -0400 (EDT) -Received: from mail-pw0-f42.google.com (mail-pw0-f42.google.com - [209.85.160.42]) by solarsail.media.mit.edu (Postfix) with ESMTP id - 040678109 for <dextrose@lists.sugarlabs.org>; Mon, 9 Aug 2010 12:19:14 - -0400 (EDT) -Received: by pwj8 with SMTP id 8so1453272pwj.29 for - <dextrose@lists.sugarlabs.org>; Mon, 09 Aug 2010 09:19:14 -0700 (PDT) -Received: by 10.142.156.14 with SMTP id d14mr13903275wfe.2.1281370754349; - Mon, 09 Aug 2010 09:19:14 -0700 (PDT) -Received: from localhost.localdomain ([59.178.134.11]) by mx.google.com - with ESMTPS id t11sm6734499wfc.4.2010.08.09.09.19.10 (version=TLSv1/SSLv3 - cipher=RC4-MD5); Mon, 09 Aug 2010 09:19:13 -0700 (PDT) From: anishmangal2002 <anishmangal2002@gmail.com> To: Bernie Innocenti <bernie@codewiz.org>, tch@sugarlabs.org Date: Mon, 9 Aug 2010 21:48:03 +0530 -Message-Id: <1281370683-3814-2-git-send-email-anishmangal2002@gmail.com> -X-Mailer: git-send-email 1.7.2.1 -In-Reply-To: <1281370683-3814-1-git-send-email-anishmangal2002@gmail.com> -References: <1281370683-3814-1-git-send-email-anishmangal2002@gmail.com> -X-Mailman-Approved-At: Mon, 09 Aug 2010 12:32:34 -0400 Cc: anishmangal2002 <anishmangal2002@gmail.com>, dextrose@lists.sugarlabs.org Subject: [Dextrose] [PATCH] Add microformat support to updater. -X-BeenThere: dextrose@lists.sugarlabs.org -X-Mailman-Version: 2.1.9 -Precedence: list -List-Id: <dextrose.lists.sugarlabs.org> -List-Unsubscribe: <http://lists.sugarlabs.org/listinfo/dextrose>, - <mailto:dextrose-request@lists.sugarlabs.org?subject=unsubscribe> -List-Archive: <http://lists.sugarlabs.org/archive/dextrose> -List-Post: <mailto:dextrose@lists.sugarlabs.org> -List-Help: <mailto:dextrose-request@lists.sugarlabs.org?subject=help> -List-Subscribe: <http://lists.sugarlabs.org/listinfo/dextrose>, - <mailto:dextrose-request@lists.sugarlabs.org?subject=subscribe> -MIME-Version: 1.0 -Content-Type: text/plain; charset="us-ascii" -Sender: dextrose-bounces@lists.sugarlabs.org -Errors-To: dextrose-bounces@lists.sugarlabs.org -X-Spam-Status: No, score=-3.1 required=3.5 tests=AWL,BAYES_00, - DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_WEB - autolearn=ham version=3.3.1 -X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on - trinity.develer.com -Content-Transfer-Encoding: 8bit Signed-off-by: anishmangal2002 <anishmangal2002@gmail.com> @@ -208,9 +159,9 @@ index 9845371..3ec6888 100755 class UpdateModel(gobject.GObject): __gtype_name__ = 'SugarUpdateModel' @@ -72,11 +71,11 @@ class UpdateModel(gobject.GObject): - total = len(bundleregistry.get_registry()) - current = total - len(self._bundles_to_check) + if len(self._bundles_to_check) == 0: + return False - bundle = self._bundles_to_check.pop() - self.emit('progress', UpdateModel.ACTION_CHECKING, bundle.get_name(), - current, total) |