Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (7 sloc) 238 Bytes
#!/usr/bin/env python
# http://archives.gentoo.org/gentoo-dev/msg_75881dcc749478a4fe7659d9b3594c75.xml
import sys
import portage
c = portage.config(config_profile_path=sys.argv[1])
for x in c.profiles:
sys.stdout.write("%s\n" % (x,))