1. artgins
  2. ginsfsm

Commits

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

warning/todo about imp.load_source

  • Participants
  • Parent commits 5f2819b
  • Branches default
  • Tags 0.3.2

Comments (0)

Files changed (1)

File ginsfsm/sphinxext.py

View file
  • Ignore whitespace
     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)