Remove python 2.6 code path as this is no longer supported

Change-Id: I144a774a83c779dcbc065085f03c31ff85862841