X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=39b6f70adb0c32c26eabb767bfac200660366008;hb=HEAD;hp=24e37f32fa5d730a96b6f105a6cdca81be651d07;hpb=42a5b49014fb9063f10c53b418b0800d41771c7a;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index 24e37f3..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 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(".")]