X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=39b6f70adb0c32c26eabb767bfac200660366008;hb=e4810a38592de9abde703d1813412b46dcf27320;hp=0c58a0fbe33cf92e47e615339c1af49127e1884c;hpb=9765fce9ee4b154e25dbb1450377849401df2668;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index 0c58a0f..39b6f70 100644 --- 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(".")]