summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-09 03:22:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-09 03:22:48 +0000
commitccb94f00a586956be5143dd090f74e2e41cc0c33 (patch)
tree5b5d59cbdc8b08ca369017041eea114f6370b121 /bin
parentb428b56c6efbfef6f9608c84493dbd723f59455c (diff)
downloadportage-ccb94f00a586956be5143dd090f74e2e41cc0c33.tar.gz
portage-ccb94f00a586956be5143dd090f74e2e41cc0c33.tar.bz2
portage-ccb94f00a586956be5143dd090f74e2e41cc0c33.zip
eat whitespace -> YUM
svn path=/main/trunk/; revision=2349
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge14
1 files changed, 7 insertions, 7 deletions
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()