X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=39b6f70adb0c32c26eabb767bfac200660366008;hb=19d4a01ccf66af9e00914351b3eacd5fc880f988;hp=72d9b02b6f7afde8bcc2aa50e415e58bec4b26f6;hpb=f0099ef59baf59f0ca1f23847aad3845159defcf;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index 72d9b02b..39b6f70a 100644 --- a/PLC/__init__.py +++ b/PLC/__init__.py @@ -1 +1,4 @@ -all = 'Addresses AddressTypes API Auth BootStates CacheTest Caching ConfFiles Config Debug Events Faults Filter Keys KeyTypes Messages Method NetworkMethods NetworkTypes NodeGroups NodeNetworks Nodes Parameter PCUs Peers Persons POD PostgreSQL Roles Sessions Sites SliceAttributes SliceAttributeTypes SliceInstantiations Slices Table'.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(".")]