X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=39b6f70adb0c32c26eabb767bfac200660366008;hb=19d4a01ccf66af9e00914351b3eacd5fc880f988;hp=bfdd2b3069b0bc190a09eb6f8fd02ec1c39c727e;hpb=8adb780647b98ff54846b62233931d3c3a5e5ff3;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index bfdd2b3..39b6f70 100644 --- a/PLC/__init__.py +++ b/PLC/__init__.py @@ -1 +1,4 @@ -all = 'Addresses AddressTypes API Attributes Auth BootStates Config Debug Faults Keys Method NetworkMethods NetworkTypes NodeGroups NodeNetworks Nodes Parameter PCUs Persons PostgreSQL Roles Sites SliceAttributes 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(".")]