create logfile plcapi.log in /var/log and chown it to apache
[plcapi.git] / PLC / __init__.py
index 1d981e0..39b6f70 100644 (file)
@@ -1 +1,4 @@
-all = 'API AddressTypes Addresses Auth BootStates ConfFiles Config Debug Events Faults ForeignNodes KeyTypes Keys Messages Method NetworkMethods NetworkTypes NodeGroups NodeNetworks Nodes PCUs POD Parameter Peers Persons PostgreSQL Roles Sessions Sites SliceAttributeTypes 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(".")]