From ccb94f00a586956be5143dd090f74e2e41cc0c33 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 9 Dec 2005 03:22:48 +0000 Subject: eat whitespace -> YUM svn path=/main/trunk/; revision=2349 --- bin/emerge | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bin/emerge') diff --git a/bin/emerge b/bin/emerge index d0aad37fb..4f92c8aaa 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1,5 +1,5 @@ #!/usr/bin/python -O -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/emerge,v 1.345.2.38 2005/08/13 17:25:26 ferringb Exp $ @@ -2426,7 +2426,7 @@ if myaction in ["sync","rsync","metadata"] and (not "--help" in myopts): "--delete", # Delete files that aren't in the master tree "--delete-after", # Delete only after everything else is done "--stats", # Show final statistics about what was transfered - "--timeout="+str(mytimeout), # IO timeout if not done in X seconds + "--timeout="+str(mytimeout), # IO timeout if not done in X seconds "--exclude='/distfiles'", # Exclude distfiles from consideration "--exclude='/local'", # Exclude local from consideration "--exclude='/packages'", # Exclude packages from consideration @@ -2685,7 +2685,7 @@ if myaction in ["sync","rsync","metadata"] and (not "--help" in myopts): i = conf.categories.index("virtual") if i != -1: conf.categories.remove(i) - except (ValueError, IndexError): + except (ValueError, IndexError): pass pdb = portage.portdbapi(porttree_root, conf) @@ -2702,7 +2702,7 @@ if myaction in ["sync","rsync","metadata"] and (not "--help" in myopts): self.min_cp_all = l/100.0 self.count = 1 self.pstr = '' - + def __iter__(self): for x in self.cp_all: self.count += 1 @@ -2712,14 +2712,14 @@ if myaction in ["sync","rsync","metadata"] and (not "--help" in myopts): for y in self.dbapi.cp_list(x): yield y self.call_update_mine = 0 - + def update(self, *arg): try: self.pstr = int(self.pstr) + 1 except ValueError: self.pstr = 1 sys.stdout.write("%s%i%%" % ("\b" * (len(str(self.pstr))+1), self.pstr)) sys.stdout.flush() self.call_update_min = 10000000 - + def finish(self, *arg): sys.stdout.write("\b\b\b\b100%\n") sys.stdout.flush() @@ -2735,7 +2735,7 @@ if myaction in ["sync","rsync","metadata"] and (not "--help" in myopts): else: noise_maker = source = percentage_noise_maker(pdb) cache.util.mirror_cache(source, cm, pdb.auxdb[porttree_root], eclass_cache=ec, verbose_instance=noise_maker) - + sys.stdout.flush() portage.portageexit() -- cgit v1.2.3-1-g7c22