Fixes knime-mpicbg/knime-scripting#38

Bug in Python 2.6 was due to missing dictionary comprehension.