Line | |
---|
1 | #!/usr/bin/python
|
---|
2 | # -*- coding: utf-8 -*-
|
---|
3 |
|
---|
4 | #from OPSI.Backend.Backend import *
|
---|
5 | from OPSI.Backend.BackendManager import BackendManager
|
---|
6 |
|
---|
7 | #from OPSI.Backend.JSONRPC import JSONRPCBackend
|
---|
8 | #from OPSI.Logger import *
|
---|
9 | #from OPSI.Product import *
|
---|
10 | #from OPSI import Tools
|
---|
11 | #from OPSI.UI import *
|
---|
12 |
|
---|
13 | bm = BackendManager(authRequired = False, configFile = '/etc/opsi/backendManager.d')
|
---|
14 | depotIds = bm.getDepotIds_list()
|
---|
15 | print depotIds
|
---|
16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.