Flush stdout after the loop inside filter_protected() completes.
authorZac Medico <zmedico@gentoo.org>
Sat, 23 Aug 2008 09:20:24 +0000 (09:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 23 Aug 2008 09:20:24 +0000 (09:20 -0000)
svn path=/main/trunk/; revision=11457

bin/portageq

index 7f804c96056d5e58bf006c387140f92ed523eefe..24291c395526e7faa98fecd3413572c4b66c698b 100755 (executable)
@@ -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