def registrar(): global _registrar if not _registrar: from Registrar import Registrar _registrar = Registrar() import native _registrar.manage(native, native.format()) import chemkin _registrar.manage(chemkin, chemkin.format()) import ckml _registrar.manage(ckml, ckml.format()) import c _registrar.manage(c, c.format()) import html _registrar.manage(html, html.format()) import python _registrar.manage(python, python.format()) return _registrar
def registrar(): global _registrar if not _registrar: from Registrar import Registrar _registrar = Registrar() import native _registrar.manage(native, native.format(), native.extensions()) import chemkin _registrar.manage(chemkin, chemkin.format(), chemkin.extensions()) import ckml _registrar.manage(ckml, ckml.format(), ckml.extensions()) return _registrar