dispatcher: Change {} to {0} for py2.6