Commits

Ginés Martínez Sánchez committed 65ba695 Draft

warning/todo about imp.load_source

Comments (0)

Files changed (1)

ginsfsm/sphinxext.py

     gconfig_id = gconfig_id.split()[2]
     gconfig_id = gconfig_id + '.gconfig'
     module, ext = os.path.splitext(os.path.split(src)[-1])
+    #TODO load_source is deprecated in python3.3.
+    # It must be changed by load_module
     py_mod = imp.load_source(module, src)
     gconfig = getattr(py_mod, gconfig_name)