Univention Bugzilla – Attachment 7076 Details for
Bug 39049
Document App Center API for CSP access
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
small script to get app information
get-app-info (text/x-python), 519 bytes, created by
Erik Damrose
on 2015-07-31 15:58 CEST
(
hide
)
Description:
small script to get app information
Filename:
MIME Type:
Creator:
Erik Damrose
Created:
2015-07-31 15:58 CEST
Size:
519 bytes
patch
obsolete
>#!/usr/bin/python2.7 >import sys >from univention.management.console.modules.appcenter.app_center import Application > >if len(sys.argv) != 2: > apps = "" > for app in Application.all(): > apps += "%s " % app.id > print "\nusage: %s <appid>" % sys.argv[0] > print "possible values for <appid>: %s" % apps > sys.exit(1) > >app = Application.find(sys.argv[1]) >print "\n%s" % app.name >for section in app.raw_config.sections(): > print "\n[%s]" % section > for attr, val in app.raw_config.items(section): > print "%s: %s" % (attr, val)
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 39049
: 7076