summaryrefslogtreecommitdiffstats
path: root/bin/portageq
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-23 09:20:24 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-23 09:20:24 +0000
commite3c5618bb4b6c5ddea3ed2396f9c7e2a8f63f531 (patch)
tree90ba7b0fc81289306719c1ce43ffb87e230af0a9 /bin/portageq
parent8855bd5b21fffd8b39607b1bea4b2ef2aa18fdcd (diff)
downloadportage-e3c5618bb4b6c5ddea3ed2396f9c7e2a8f63f531.tar.gz
portage-e3c5618bb4b6c5ddea3ed2396f9c7e2a8f63f531.tar.bz2
portage-e3c5618bb4b6c5ddea3ed2396f9c7e2a8f63f531.zip
Flush stdout after the loop inside filter_protected() completes.
svn path=/main/trunk/; revision=11457
Diffstat (limited to 'bin/portageq')
-rwxr-xr-xbin/portageq1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/portageq b/bin/portageq
index 7f804c960..24291c395 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -310,6 +310,7 @@ def filter_protected(argv):
if protect_obj.isprotected(f):
protected += 1
out.write("%s\n" % filename)
+ out.flush()
if errors:
return 2