Univention Bugzilla – Attachment 6153 Details for
Bug 36051
Check non-free packages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
show_contrib_and_nonfree.py
show_contrib_and_nonfree.py (text/plain), 288 bytes, created by
Arvid Requate
on 2014-10-09 13:17 CEST
(
hide
)
Description:
show_contrib_and_nonfree.py
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2014-10-09 13:17 CEST
Size:
288 bytes
patch
obsolete
>#!/usr/bin/python >import apt >c=apt.Cache() > >filter_function=lambda pc: pc.section.startswith("contrib") or pc.section.startswith("non-free") >pl=filter(filter_function, map(lambda x: c[x].candidate, c.keys())) >spl_set=set(map(lambda p: p.source_name, pl)) >print '\n'.join(sorted(spl_set))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 36051
: 6153