Gentoo Archives: gentoo-commits

From: Magnus Granberg <zorry@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/zorry:master commit in: gobs/pym/
Date: Mon, 30 Apr 2012 14:17:49
Message-Id: 1335795449.e060ff1bef49f695477b88556ef15c006bff71ca.zorry@gentoo
1 commit: e060ff1bef49f695477b88556ef15c006bff71ca
2 Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 30 14:17:29 2012 +0000
4 Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 30 14:17:29 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/zorry.git;a=commit;h=e060ff1b
7
8 fix error in updatedb.py
9
10 ---
11 gobs/pym/updatedb.py | 5 ++++-
12 1 files changed, 4 insertions(+), 1 deletions(-)
13
14 diff --git a/gobs/pym/updatedb.py b/gobs/pym/updatedb.py
15 index bd73602..da80521 100755
16 --- a/gobs/pym/updatedb.py
17 +++ b/gobs/pym/updatedb.py
18 @@ -113,7 +113,10 @@ def update_db_main():
19 # Logging
20 logging.info("Update db started.")
21 # Sync portage and profile/settings
22 - git_pull
23 + resutalt = git_pull()
24 + if resutalt is False:
25 + logging.info("Update db ... Fail.")
26 + return False
27 resutalt = sync_tree()
28 if resutalt is False:
29 logging.info("Update db ... Fail.")