X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=39b6f70adb0c32c26eabb767bfac200660366008;hb=da06561d0f5240a5409474e16824e4e015f31fac;hp=96c4ec45271a293ab508bae08fef065f8d669b39;hpb=7ba889dd89500f8c0695ef21bfda28291bb4f9da;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index 96c4ec4..39b6f70 100644 --- a/PLC/__init__.py +++ b/PLC/__init__.py @@ -1,50 +1,4 @@ -all = """ -API -AddressTypes -Addresses -Auth -Boot -BootStates -ConfFiles -Config -Debug -EventObjects -Events -Faults -Filter -GPG -InitScripts -InterfaceSettingTypes -InterfaceSettings -Interfaces -KeyTypes -Keys -Messages -Method -NetworkMethods -NetworkTypes -NodeGroups -NodeTagTypes -NodeTags -Nodes -PCUProtocolTypes -PCUTypes -PCUs -POD -Parameter -Peers -Persons -PostgreSQL -PyCurl -Roles -Sessions -Shell -Sites -SliceAttributeTypes -SliceAttributes -SliceInstantiations -Slices -Table -Test -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(".")]