def __TimeZoneKeyNameWorkaround(name):
 try:
  return name[:name.index('\x00')]
 except ValueError:
  return name

def __TimeZoneKeyNameWorkaround ( name ) : try : return name [ : name . index ( '\x00' ) ] except ValueError : return name
it may be a bug in vista .