summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-03-15 01:17:09 +0000
committerZac Medico <zmedico@gentoo.org>2006-03-15 01:17:09 +0000
commit0409034555e77b693e756360955a9c6b353e313a (patch)
tree9ebb0db342858d73b21ae74d1dd767f59e655e59 /pym
parentda7b4aa5aebdbb3a6a7c4ee04b672d6258d0540d (diff)
downloadportage-0409034555e77b693e756360955a9c6b353e313a.tar.gz
portage-0409034555e77b693e756360955a9c6b353e313a.tar.bz2
portage-0409034555e77b693e756360955a9c6b353e313a.zip
Use writemsg_stdout for update_ents and move_ent routines. See bug #126111.
svn path=/main/trunk/; revision=2892
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 38393824f..26eb44c60 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -4280,7 +4280,7 @@ class vardbapi(dbapi):
origpath=self.root+VDB_PATH+"/"+mycpv
if not os.path.exists(origpath):
continue
- writemsg("@")
+ writemsg_stdout("@")
if not os.path.exists(self.root+VDB_PATH+"/"+mynewcat):
#create the directory
os.makedirs(self.root+VDB_PATH+"/"+mynewcat)
@@ -4339,7 +4339,7 @@ class vardbapi(dbapi):
if (slot[0]!=origslot):
continue
- writemsg("s")
+ writemsg_stdout("s")
write_atomic(os.path.join(origpath, "SLOT"), newslot+"\n")
def cp_list(self,mycp,use_cache=1):
@@ -5239,8 +5239,7 @@ class binarytree(packagetree):
continue
#print ">>> Updating data in:",mycpv
- sys.stdout.write("%")
- sys.stdout.flush()
+ writemsg_stdout("%")
mytbz2 = xpak.tbz2(tbz2path)
mydata = mytbz2.get_data()
@@ -5290,8 +5289,7 @@ class binarytree(packagetree):
if (slot[0]!=origslot):
continue
- sys.stdout.write("S")
- sys.stdout.flush()
+ writemsg_stdout("S")
mydata["SLOT"] = newslot+"\n"
mytbz2.recompose_mem(xpak.xpak_mem(mydata))
return 1