git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove PLC.Debug.log, use PLC.Logger.logger instead
[plcapi.git]
/
PLC
/
__init__.py
diff --git
a/PLC/__init__.py
b/PLC/__init__.py
index
0c58a0f
..
39b6f70
100644
(file)
--- a/
PLC/__init__.py
+++ b/
PLC/__init__.py
@@
-1,49
+1,4
@@
-all = """
-API
-AddressTypes
-Addresses
-Auth
-Boot
-BootStates
-ConfFiles
-Config
-Debug
-EventObjects
-Events
-Faults
-Filter
-GPG
-Ilinks
-InitScripts
-InterfaceTags
-Interfaces
-KeyTypes
-Keys
-Messages
-Method
-NetworkMethods
-NetworkTypes
-NodeGroups
-NodeTags
-NodeTypes
-Nodes
-PCUProtocolTypes
-PCUTypes
-PCUs
-POD
-Parameter
-Peers
-Persons
-PostgreSQL
-PyCurl
-Roles
-Sessions
-Shell
-Sites
-SliceInstantiations
-SliceTags
-Slices
-Table
-TagTypes
-sendmail
-""".split()
+#!/usr/bin/python -tt
+
+import os
+all = [i[:-3] for i in os.listdir(os.path.dirname(__file__)) if i.endswith(".py") and not i.startswith(".")]