Bcfg2/bcfg2 — pull request #107 by AlexanderS (2013-06-28 21:54:17+00:00)
Title: Python pre27 compat

The previous solution to avoid the python-lxml dependency does only work on python2.7 or newer. Before that version xml.etree does not support ".." in xpath expressions. So the findall(".//Path/..") fails. This patch fix this by manually building a parent map and using this to get the parent of the elements.