X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2F__init__.py;h=39b6f70adb0c32c26eabb767bfac200660366008;hb=19d4a01ccf66af9e00914351b3eacd5fc880f988;hp=704a1145da62ceffb81598f5a467906db85136a7;hpb=fe0cd47e2b702d69bde8518a41e3661dd9ffbea7;p=plcapi.git diff --git a/PLC/__init__.py b/PLC/__init__.py index 704a114..39b6f70 100644 --- a/PLC/__init__.py +++ b/PLC/__init__.py @@ -1 +1,4 @@ -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() +#!/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(".")]