+
    ˜qgj  ã                   óŠ   € R t ^ RIt^ RIHt ^ RIHtHt ]P                  ! ]4      t	 ! R R]4      t
 ! R R]4      tR R	 ltR# )
z0Classes and functions related to event handling.N)ÚEnum)ÚDictÚSetc                   ó*   a € ] tR t^t o RtR tRtV tR# )Ú
EventScopeÚnetworkc                ó   € V P                   # ©N©Úvalue©Úselfs   &Ú1/usr/lib/python3/dist-packages/cloudinit/event.pyÚ__str__ÚEventScope.__str__   ó   € Ø�z‰zÐó    © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚNETWORKr   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   r   r      s   ø‡ € ð €G÷ð r   r   c                   ó:   a € ] tR t^t o RtRtRtRtRtR t	Rt
V tR# )	Ú	EventTypezCEvent types which can generate maintenance requests for cloud-init.Úbootzboot-new-instancezboot-legacyÚhotplugc                ó   € V P                   # r	   r
   r   s   &r   r   ÚEventType.__str__"   r   r   r   N)r   r   r   r   Ú__doc__ÚBOOTÚBOOT_NEW_INSTANCEÚBOOT_LEGACYÚHOTPLUGr   r   r   r   s   @r   r   r      s)   ø‡ € ÙMð €DØ+ÐØ€KØ€G÷ð r   r   c                óh   € V ^8„  d   QhR\         R\        \        \        \        ,          3,          /# )é   Úuser_configÚreturn)Údictr   r   r   r   )Úformats   "r   Ú__annotate__r.   &   s(   € ÷ !ñ !¤Dð !¬T´*¼cÄ)½nÐ2LÕ-Mñ !r   c                ó¢  € / pV P                  4        F@  w  r# \        V4      p TR,           Uu. uF  p\        T4      NK  	  pp\        T4      Y&   KB  	  V#   \         d,   p\        P	                  R\        T4      T4        Rp?Kw  Rp?ii ; iu upi   \         d-   p\        P	                  R\        T4      T4       . p Rp?LƒRp?ii ; i)zøConvert userdata into update config format defined on datasource.

Userdata is in the form of (e.g):
{'network': {'when': ['boot']}}

DataSource config is in the form of:
{EventScope.Network: {EventType.BOOT}}

Take the first and return the second
z.%s! Update data will be ignored for '%s' scopeNÚwhen)Úitemsr   Ú
ValueErrorÚLOGÚwarningÚstrr   Úset)r*   Úupdate_configÚscopeÚ
scope_listÚ	new_scopeÚeÚxÚ
new_valuess   &       r   Úuserdata_to_eventsr>   &   sÍ   € ð €MØ(×.Ñ.Ö0Ñˆð	Ü" 5Ó)ˆIð	Ø0:¸6Ö0BÓCÑ0B¨1œ) Až,Ñ0BˆJÐCô $' z£?ˆÓ ñ' 1ð* Ðøô% ô 	Ü�K‰KØ@Ü�A“Øôõ
 ûð	üò DøÜô 	Ü�K‰KØ@Ü�A“Øôð
 �Jûð	ús?   ™A¥B°BÁBÁBÁ$ B
Â
BÂBÂCÂ""C	Ã	C)r#   ÚloggingÚenumr   Útypingr   r   Ú	getLoggerr   r3   r   r   r>   r   r   r   Ú<module>rC      s>   ðá 6ã Ý ß à×Ò˜Ó!€ô�ô ô�ô ÷"!r   