pycollada/pycollada — pull request #24 by rdiankov (2012-09-03 12:49:33+00:00)
Title: allow pycollada to open multiple versions + better python library importing

This patch has two main changes:

In xmlutil.py, create two global functions for getting/setting collada version

xmlutil.GetColladaVersion()
xmlutil.SetColladaVersion()

these functions will look into xmluitl.COLLADA_NAMESPACES for the collada namespace. The current namespace can also be returned from xmlutil.GetColladaNS()

The second change is fix the way library flies were being imported (this is the python standard). For example

"from collada.common import E"

turns into

"from .common import E"