On Tue, 2010-06-22 at 23:26 +0200, Thomas Spura wrote: > How about this? > """ > import os > > p = set() > > for pkg in os.popen('repoquery --whatrequires --alldeps "python(abi) = > 2.6"'): > pkg = pkg.strip() > print "Checking %s" % pkg > p.add(os.popen('repoquery -s %s' % pkg).read().strip()) > > print p > """ Wow, python calling python through /bin/sh! I bow before you sir. You could just do: #! /bin/sh repoquery --whatrequires --alldeps -s "python(abi) = 2.6" | sort -u -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel