Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40140 Details for
Bug 62273
[PATCH] PORTAGE_QUIET= (suppress screen output for scripts)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
herds.py
herds.py (text/plain), 562 bytes, created by
solar (RETIRED)
on 2004-09-21 18:13:14 UTC
(
hide
)
Description:
herds.py
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2004-09-21 18:13:14 UTC
Size:
562 bytes
patch
obsolete
>#!/usr/bin/python > >import sys, string >import xml.dom.minidom >import xml.xpath > >if len(sys.argv) < 2: > print "usage: herds.py herdname" > sys.exit(1) > >root_node = xml.dom.minidom.parse('./herds.xml') >query = '/herds/herd[name=\''+sys.argv[1]+'\']/maintainer/email' >maintainer_email = xml.xpath.Evaluate(query, root_node) > >emails = [] > >for email in maintainer_email: > em=email.firstChild.nodeValue.strip() > em = string.split(em, "@")[0] > emails.append(em) > >if len(emails) < 1: > print "herd doesn't exist or has no maintainers" > sys.exit(0) > >print ", ".join(emails)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 62273
: 40140 |
40141
|
75564
|
84739
|
84791