X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=7b7fc41eb32fc2a738df47275b81d836fe005b44;hb=d20644a48d03667bb25dc583517de06e94606c64;hp=704a1145da62ceffb81598f5a467906db85136a7;hpb=fe0cd47e2b702d69bde8518a41e3661dd9ffbea7;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index 704a114..7b7fc41 100644 --- a/PLC/__init__.py +++ b/PLC/__init__.py @@ -1 +1,2 @@ -all = 'Addresses AddressTypes API Auth BootStates Config Debug Faults Keys KeyTypes Method NetworkMethods NetworkTypes NodeGroups NodeNetworks Nodes Parameter PCUs Persons POD PostgreSQL Roles Sites SliceAttributes SliceAttributeTypes 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(".")]