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