Fix python 2.6 error

Change-Id: Iad68bfca139371141998754f7408209e64993ee7