X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=7b7fc41eb32fc2a738df47275b81d836fe005b44;hb=cbf8b264347629f692c36e22bbf35b00c609db1c;hp=bfdd2b3069b0bc190a09eb6f8fd02ec1c39c727e;hpb=8adb780647b98ff54846b62233931d3c3a5e5ff3;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index bfdd2b3..7b7fc41 100644 --- a/PLC/__init__.py +++ b/PLC/__init__.py @@ -1 +1,2 @@ -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() +import os +all = [i[:-3] for i in os.listdir(os.path.dirname(__file__)) if i.endswith(".py") and not i.startswith(".")]