no change, just more pep8-friendly, and use dict comprehension
[plcapi.git] / PLC / __init__.py
index 4602472..39b6f70 100644 (file)
@@ -1 +1,4 @@
-all = 'Addresses AddressTypes API Auth BootStates Cache ConfFiles Config Debug Events Faults Filter GPG Keys KeyTypes Messages Method NetworkMethods NetworkTypes NodeGroups 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(".")]