Don't generate __init__ files.
[plcapi.git] / PLC / __init__.py
index b892448..39b6f70 100644 (file)
@@ -1,57 +1,4 @@
-## Please use make index to update this file
-all = """
-API
-Accessor
-AddressTypes
-Addresses
-Auth
-Boot
-BootStates
-ConfFiles
-Config
-Debug
-EventObjects
-Events
-Faults
-Filter
-GPG
-Ilinks
-InitScripts
-InterfaceTags
-Interfaces
-KeyTypes
-Keys
-LeaseFilter
-Leases
-Messages
-Method
-Namespace
-NetworkMethods
-NetworkTypes
-NodeGroups
-NodeTags
-NodeTypes
-Nodes
-PCUProtocolTypes
-PCUTypes
-PCUs
-POD
-Parameter
-Peers
-PersonTags
-Persons
-PostgreSQL
-PyCurl
-Roles
-Sessions
-Shell
-SiteTags
-Sites
-SliceInstantiations
-SliceTags
-Slices
-Table
-TagTypes
-Timestamp
-sendmail
-""".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(".")]