Fix format of debug message to be compatible with py2.6

In Python 2.6 we need indices in the format specs

Change-Id: Ia70c705e2cb9d7391a7fd257e3b6cc5cbbc5abb7
Merge "Fix format of debug message to be compatible with py2.6"