Ë
    €Ï  ã                   ób   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ej                  fd„Z
y)	z,Location util for Fault Injection Cloud SDK.é    )Úabsolute_import)Údivision)Úunicode_literals)Ú	constants)Ú
console_ioc                 óp   — t        j                  «       r"| g}t        j                  |dd¬«      }||   }|S y)a+  Prompt for Location from list of available locations.

  This method is referenced by the declaritive iam commands as a fallthrough
  for getting the location.

  Args:
    available_locations: list of the available locations to choose from

  Returns:
    The location specified by the user, str
  zPlease specify a Location:
T)ÚmessageÚcancel_optionN)r   Ú	CanPromptÚPromptChoice)Úavailable_locationsÚall_locationsÚidxÚlocations       ú?lib/googlecloudsdk/command_lib/fault_injection/location_util.pyÚPromptForLocationr      sF   € ô ×ÑÔØ(Ð)€MÜ
×
!Ñ
!ØØ.¸dô€Cð ˜SÑ!€HØ€Oð ó    N)Ú__doc__Ú
__future__r   r   r   Ú*googlecloudsdk.command_lib.fault_injectionr   Úgooglecloudsdk.core.consoler   ÚSUPPORTED_LOCATIONr   © r   r   Ú<module>r      s)   ðñ 3å &Ý Ý 'å @Ý 2ð +4×*FÑ*Fô r   