trying out the hint from github issue
[plcapi.git] / PLC / __init__.py
index fed5fa7..39b6f70 100644 (file)
@@ -1 +1,4 @@
-all = 'Addresses AddressTypes API Auth Boot BootStates Cache ConfFiles Config Debug EventObjects Events Faults Filter GPG InitScripts Keys KeyTypes Messages Method NetworkMethods NetworkTypes NodeGroups NodeNetworkSettings NodeNetworkSettingTypes NodeNetworks Nodes Parameter PCUs Peers Persons POD PostgreSQL PyCurl Roles sendmail Sessions Shell Sites SliceAttributes SliceAttributeTypes SliceInstantiations Slices Table Test'.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(".")]