now parses correctly some args (empty array and empty string)
[plcapi.git] / PLC / __init__.py
index 6c063b7..39b6f70 100644 (file)
@@ -1 +1,4 @@
-all = 'Addresses AddressTypes API Auth BootStates Cache ConfFiles Config Debug Events Faults Filter Keys KeyTypes Messages Method NetworkMethods NetworkTypes NodeGroups NodeNetworks Nodes Parameter PCUs Peers Persons POD PostgreSQL Roles Sessions 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(".")]