ÿØÿà JFIF    ÿÛ „ !.%+&8&+/1555$;@;4?.451 4,$,44444444444414444444444444444444444444444444444444ÿÀ  á á" ÿÄ     ÿÄ ?    !1AQaq"2‘¡±ÁðBRbrÑá#‚’¢²3S CñÿÄ   ÿÄ !    !1QAa‘2ÿÚ   ? 5˜Z¯V¦cø)›t/? z¨±>Õ5€¶‹Á¤·¼z¼Ü¬+ñ®v¤¨_ˆR­BFn©—˜ý®ç̝P8gýt·ÉSTŦˆìät?þé¼íìN/Þa)ì–í6ô… Ï¿øÃj´¿KÇü]ÿ ªô¹-eKànëÕHTx}ýSÜ›ÿ ”7Ø×&µ<¦  ¥ÑO¶[Ù¯ä¨ÞÃÿ PZ-¬;#õ|•oaÿ ©CìÞz3˜öː/¤­ñTûIØ}š^ mÓ%ªxˆ¥ÉŸu=Z+ISe¿45™¼u;ú&WØ÷€æßQ™®{|íx*TC“#ZŠìZ§²‹ 6pv…³¿¡äª*áZÐ%ÒOáˆo"x«OHk w±æ+¬V(kMúŸ5Vö«$ ÁrÏbàb57/luR ¸ÑÛj Òµì`Мq­û žICÀÊ•©4€Âcà¨Ï€O´<èÐ:›ù(Ë^L8þ‘ÍÌ#¸Ð_Ì©ÙK(Öz 4¬û+¸;ü’V’84‘¬ÃŽ:[â‡ÔÌáõp¢~§ªlæ£ö{®G>J¼"°‡7¯ÆÉèßû ‹É‹§ÁòÃýâßî ^ƾÙõ‹×óH#«LP½ïX=xÑÍ$|W?•~• îëÔ©ª‹ {ÝT…Kÿ ”hûâá)J*ö˜–ÔU;iÇ€/ ÆþjóZ\ýwØ=Ìm ºèËL9 ýèÆð/¨’¥öo=nË.%Îì ŽÕ¯È|{Oj²ƒE6e/ßdÄõ²Ìâ1O®ò×TsəԸhOMýíMˆ¿¼H˜l²,7Â¥#MF/Úf°Ö½± ¸–dr‹NýÊ íjqx{œÉ ä-È ¦ øÄër¨q°ð †nцýÑÄÆ’mä…n<0È™;ÁÝá¯ÁZƒ7FÀmì­ É&9ˆîéi¶ùN§Y• ÃZãAâ?•‡©‰ , ó¾IŸŠc1 4â&y­&pŠ­6;M À 0¹qç»p.á …ŸÅáK@%6·y6ƒ‰3?”úºŽ‰éX5ªPT §µ!=Mž«Ú½‹ÅgÂSâÉaþÓoö–¯ÁÔìR>5éÿ üs¶ÆUcÌ kÇR ]ÿ ù¬¼«VŽ;Â|‡~¢¦”ÏŰæ {L™Õ°Óv¹ò¸írޡעCÃ!íVÕ {¶»sŒNPg/ "uÕbkm²“$ďå¿é¹§°½æz¯6 †s¿!s–wÚÝ“™Œ °.ûj>·+™Òa…©Œ&rÝÎtÛë긪Ît’LAVp%c Úý[ÄzJ¾ÇàXXç@˜ó<êL]·T˜¾¥1Ó©V‡g´æ½¦Ý@¹óø!_@´ÞâSÁ —S3™•& ]@JHÚý©ZŽ €×æÔr»Áf!‡yÞ4Mv*èÓã_{‘åóUuљØ«Oïé*®EvÑ Œ÷‡U \"㪒ÍK+À 4“M¡ï:0¥5í!'<@î´”>Ç»&Z–ïCCV˜Ì5Šo&îhè.žû |ÓK©h$s6KìŒëã)¹hI¦GïOåóI;ììü#É$Š0…Ææ¥TØ.5­¾gn´ “ÂÖ\:hœ89G)J@„}œ:’Ò{/Š"¦_Æ×7Æ3VÇŠÊa]ÚŒÙ€Ä–=®uÁßâACZƒ§§£ Qnâ:«,×{tyø¬iÛcœÜÄ€H½ÄÍCk´÷šß .W'b¤Íåh]÷€=,Žv×cÚEÚHXJX¶îo¨FÒtèöŸ>ªª6[J®Fµ£sGÁeqõfe\íjÒÐïÄÐGˆe1Ø‹.Ø”‘Ëuø Y­ˆÜ ŽG|zùªüMpDnQWÄ”%JŠ™)â*p@Örš«ÕT2Ð%ˆG#ª„ ·¤!°ŸOTÂT¸aÚ%4&h™LµšØüÐ.F¿²ÐÞ_Ç‚¾ÅÃaÜ÷09Æ q€öy˜v‡85õN÷]¬äѼóS{°_MެúÔ#°Ç¸0åÞè2ëôPcvÆw9®ií1Ä8F™˜à‰´+‰Ik1òÝ7“Ñ×ÒsÝ\x‚h`ÞÑ`ó"|µEcý£n˜h`}GÞ !±ù²Ápü²ß6 0ïi󜵩SÈÇ7˜-ÕURO˜¦´f$ªž-Í6(œ}<„ éc øs]ŽŽ„*—¾ ìdŽ„)méª\¿êÎIg¾ØÞ~I#C/¼¼´EÁÈŽi8“©õådô·>euä ƒ'Ê×लR1ÉJE1ÐAát`t;ÇР%Ý<‡¥„ÍÆ`×Oyó)õiI€ñQaŸ4Ûù\áàaÃÔ¹HÃu¹*k€¦<„e S‡&õÏ B!ŽhüÞ`yj}mªf×\¿ Ç~æ­9‡û\՞Ǖg²1Žû5V7 !àöšm° c`ܬøÇìµÒ'P"?…´Ö,"§^•õލsÔ)6˜sæéÍR¼ ò|Sl”‹7 nPW Gòú÷½§O¯‡„l¡kSÞŒr½PÊ@æ¢pŽ-mÿ #Ÿ˜Àº¶Áä¦;ïÔæ$1££`“Õ>„—·ž)ßð³ñ#Ï Ô$¶œ‰ÊE‹À;÷º ¯«P:Ñ”8–IÊtpÞ3ª“>ê“þës4ò2OÏÕ­±zô†Õ§‰.÷ä¸;¿˜“'œ›žª}«Œ{ª±Ì 9ÔóÞÕ‡0 $íWV3Üì¬ —@kÝ4@¿r¼±½¬™›?øØæ´'Áé®CË3-g$˜ö‡×auÚi´Žp/êÛ æF›Ú2v‹ã¿¿,nB1̨ƃqÞa5͝@&Æû“él÷ \C²½UÍc ¯k×¢U ÖéQå™—-r wô ÞÏ<Ò=&=ÿ Ôê Òêˈt,i—;LîÜ á¸*ÚÃ1$êL•LÍ <É)ýÐà’ ;F™{ƒ™˜€&'}‚ãÄK`¡ÞT@I;®žZóè‚s’7®°›+§O­Åq©é»²9<Ô J ¼9O’HL»Ùïì¸rk¼Ž_ý‘TŸu[²ßÚŒ·ü÷B%¯E ŸÔX5êO´ Ç•€’I0 ÉJX` ñ¹õ%;µŸD‘«´€àwÒ™U ûئžÖö\×®×´8 ½‡ºÐÆÓ§?Àkmœ=;d5*@-ì0F Rªýš[Ü6âö̃ڸr*KA9· u*µæ£?U¸Âêí†8@¦X4 e-ò„0s{ HâUpU?¼mñRa°®a%Ð'tÉ×’\¾ÊÉ]t›h>·(Ë@R¼¡Ãt h}’O÷au<+nT…Ö…MӐ??Óe95 q>í/;&JSû °¯ÊéÞ øƒ*Ã2½Ài&:nôUl=¾¿5eˆ3”ñc|Ú2V”>„»&eE;«ÚäC p¢Û úy 9š[ŒÌx¼擼A&DåÒ¯ˆ¤ÀÌ;"˜ ÏQä¸åhÊ}Ûq«Û0WžÒ|»€ø®öCm5•\ÇÀ§Pe3£]0ÃàLDÉ‰1øªxjgwT‚÷¿LΨK‹›ùs—xˆÜ±µ kæ¸f‰‰ÜGk/LÛØ6d9ò¶ùA{ƒA3š/¬D¬khÓk‰`˜"㯒r¿±Óã jx‡°e}<Ñø\3y:'À•/h½Í€Ç4~g ?Û(¼]v‘ªlKÎâ~?O‚W%{Ì:“'©úNq¾›úo(X’¥¯ˆ nFê{Ç€ü?º'ë ø‹ì Þ09ŒÌç9Æ —ËC`j@ÓÄ(+a‹un¸#ÂꟋ{K`‘ÑÍÍ'à´»/Û,KW;Þ4²þð ï Nm|~fGÏ(…³Ã)«1ö­Õ ¥‡¨©ƒÃ™ü-s=à=U66Ï«Ýc蓦W¹íž®›nÔ%êÇìŒ<#Ü×84ån®Ð ÒåOC` ñânÑs‡¢ç 1õ%Îhì½Ã½® e:ݼUZo™`  ÅZŸŒÊ«ê1ÏÄo$q¹Þ€©ˆhÐÉä¯ñ[!…Ú˜àJ:x2$Íß&PåT£6ç— ‡Í*4Ýšçjÿ ‰É nófÐ ó(L5C•åÆ\rMÒ@ò }y-W}™üýVù—ú¢=Ù”c®‘< M ž ´Phr ¦©TD ‘ù.$´÷O‡‘V2Æò.=IUŒ=ž‡â¬i™aþÓåÙ?òUø'ØÖ•.~* šTŒ!•-×áºTâ®ä#õü'´ eýlYÅÓeÕKÂrT"CÚ@u!Óxƒ{š3€}1¿(r}%«nËamjÑ%ÑNEò v ˜à  σöK³,*º.àzù¨™Ó ÚçâU¦*¿ 9{%Ö¹ njûdaXöb) kÛÆ±ûÓ\°M7ˆÂ=û›ç¿Ã‚­V»Cg–8ÙêE- j)k$º`Ã-ùEýeBÆÇ]c¡°ñty&Òd0nõ'¡W+ƒ*|–øµFa\GQªEAÔp5\Ǽ·¼Ç8·õ -â§Ú[ ‡ uZeÖ 3}×d'+¹:ð+K†Û®s!Ï$úe€<Û”x)1»a­¡LC]¸µík…ÚàA»AYº{†ªS[¦5HÒ7ù --,ísòDØ€èk ÞÀîÜ ò@â( ËNˆë›4ô½•/¦o‡€Û7 ê•ÆêòðÜy'Án½µ á˜ݦ ndeo…[ì¶Ê,¥R³Ä=À±—–ß;£™´ñSâ*g§”ïaið‘Jå~™ÓÞ ß³Õ¢»8x埒²52>AÊb&-÷\7´éÄù€T˜,w;3{ï˜k…à¹ÄqÀ«œ{€\ ˆ¾[´¨јr &Úé„Ívˆ±8†¿]|¬ņ4I×pÞS1ÈÖz‰#Ìv‡G!YNògñ:màTz¢Ý1ô©^O=~ë|5Bã™ç•¼µõ•bÆ@úÕS¬ÈŒ#¬zünrŸ û” Z²•èðV"ÁHÚý©wÝ €7¼Ìu1hÑa3Éä û f$o¿É ™Ú›ÝçnpÒ3äÌ3†Í§,Äï]$‰/pê †«À¼¸e9­Æê_C]žƒ·ý·frÁN«, E=›Çq -‰öŒ:aÏ¿±í&£Í:-} 84‘ÿ eƒQÑeëSsuiA ³g㟥ú£?ÿ ʼn*”“÷aühe:ÊWa@ÒÞk±eØ] F Ô—r.åä˜ @ö¥ªZoÐýYL·¥S²G/‡ñ <~*ZÆ´è>JlòàÛÆ½ÿ 窘ìGN¢:I®KšJp/`íIÁÀõ#Ä-€ö­šµŒoF4|ÆQØÆ@Ì|£Ô…¢À{9˜è½Üó›€ôYÒÎYsið;ís¤€à²ˆ‚4qÉVŒI$ ‰"° æµ8cXGjœˏ¡Aâý•ËÜ¢ûï e·çLx']á"oÅÎê3¯Ç—¹”ó0nå‚âg{Œñ> S´˜îè°g238‚ãköÝfÚd´6Ò€;ò÷±¢™¼›º ¢Æ'¥Ðx'e¬ç ]bÈÆV¢ó‹kýBO ðÊâ$Ÿ!×T 3Mýמ žìٍàÌü‘8÷€àæØ8æ©6‰©L´«…oãpð„~Çk‰!ñ;‹”ÛžÍ àž±z Ÿôû øŸÝužÏ;ÿ #|u6™Þ¬ÚˆÐõA4¶â|ôl|Ê2ŽÇ¤ÝÅÇY.<#Aí.k§hóF‚”Y; M½Ö4hŸ4&›­¿tès´%FìL¥£Ãk‰ÇT¤haÁ¤ÚxfÉ`ÑìË›>i 3t‚:,–+^÷´–{Û–Nxi"x‘Ûg î¨>¥Õ܁ùZH,2Û“:8xÊ¢Çí9.É-Ìâã-=çjwµS˜dütžçwýGòú®®ûº_ˆýx$–¡ãøO EÚÛÏ÷R„×w+3£Á£öUMyR²¹âŒ°š›¸Ñãò9§Ó_Dl+Ùßc›úšGÅÌc†Ž!Ko=¶.‘Îÿ c²(2®V mª.ÿ ¹B›¹å ù„öŸSV>™ü¯$y:G¢Z×àøúdî¹û­·ýÇ´:•c LÍõi_‹ö+ÎæGÊè>OŠ•äž´§Þ{X}¨1ÚTc›»Qþ•êô°t¿OP?eæ~É{5]•ÙR£r5†nZ\ã@ &îJõ ¾àC°þV>fé¥/ü5ñÊIº_é5 ;e­h<@ Ä&æÃëE%;X,ÒãÆÞ`Oò¦kŸm#˜!ÀyÄ¢| óLšò¥Ä` ¶R=|ÈCâh5ò3DˆïF†ðÒ#ÅìÛœ?¸yhBãœí ZxßÎÄhºRK„`Þödvײ™ÀÈÑÒgŒuY w³%†ƒÓzõ ÖÏp‚dH®¦A´ù§»ÓÇMæ~)ˆð‡û:ù&Ä •vGD´À n ݇¼Ö8Fö óáà£~Ë¥x`oK|Ä?fxiØü%pìR>éò+Û±éÎ>núlFŤ'tq8LZÏvÃ?„¡ß±È⽆¯³íü@x|PöUäèØã¡ð‚ŒAìÏ"vÍwóŸÍ{ ý0.z È•Ö{,N¡£¡ŸKÕÙž>Ýœþ ÍÀ°<×EA!Å‚D™IúOÍ¡>ôG}Â` ÍßkÜL™Ž Þð™ {IøF²¹òQ3&!ÃÂÞz.d&Ï-sH¸,Ôõ˜ŽP€ 77ˆÝ¼ÊëÜw =cÕ Ú,ØÐ5ÎYÐ)ì´öœgŒ[¤ßv㙑8心>h]§µháYš£²ºÑ.{Ï7Sð•?´~×SÃKýJÛ˜ ™Íäiúu<µX¶1õ^kâçIÑ£sZ4h>j*ÔšD:4­¿_ ÷¸ Õxæÿ ¸?Mù _•­ÊÐ ä ÷ý ÑwL œ­ïnTkÛUÍN©ë:¦fV ¶ÜÔÜMªÅâA½–¿R×TXš-%iTÊT•‡Ù‚JôϐZxWÑè‰f‰òG º ×Õû2aZ7OU3[“×AT–ÞŒ…-‘¤”Ì ì&(ˆ¿­•ƒkï’:ðY¦W‘ Å)“†‘˜³Åtcø˜ñTÂwÚÇ4|üLÇªí–v- qˆèU qPE.†â‘˜µ Æ,ÐÅs]8¾„oúÑ i>ÜxxÈó)ƒ ´æÁâØ$À‰vžŸf$Ž |ãw;ÀÁIJ»b` {¦Ó¤Ú$©YÀ‘n@Óïž«9J¼êG m¤ ܯ¹ÌW4€ÐÒÅÛ‡#褕Ÿn-?í|с¥÷Ú¹¬'´ÞÜ9ÓK `hê£SÄSà?7—Wí_´…óB›»:=Ãïq`<8ñÓŒÑlú2d¬ê³£hÖ[l|$vÝro~'R®‰§°ñmY ͧäP |PUª¹·:3Œ[Û{Xÿ ºâ@‚W–Äé u‚ ¯´*=íή.pûÒdt @G‰¬ s¸ ëÉücr ÞæÑ¨Ê@>¤¢Ö±. Þ'¯°ÌME[YéïĵÂCå½ Ué©Áû'Ê9%eÔðNU”ë‘ÌsD3/®+UI˜9h.WC”빓$#:pz:YÓ ¿xž* ³$Í +$kñAŠ‹†¢ Uê>¸)_š¬÷©ßAÂÔb9ÇU ¯¾á•9¯ÏÏ÷O÷¼¼Fähal1‰3Ì[Ïr•´UCksNÐ] R‘¸¥H+§Šé†c©vÖÞ0iÓ76s†î!§=ß ¼~Ô'°Ãmäoäš³ªøi1úÉ)³yV8 CLÄØÁ‘WYïi€H6ÖÑiámø^ÈY´°Ñ7¥Û*—Ñ©L«Qƒï—Ùrÿ ›£Ð*š¸ˆL©ˆ$ˆ ÷¾D§9È®«qbqC)–ˆïv´çñsÑVT­Ø, <àïºÀO«Jý·õ àfPìð .wFšir´þ’2_Y *Æ€x\« ì€9š@ Ž|F⇥ˆkZ@hÖÄ0t¿-<“‹qµ¾*ZL¤Ú)&BJpÓF5=$„at*Zš$’ÑtdûÝRI1 2މ$€$I$#‰SÞ’Hë¬ï;Á$¡t$’`<(ñÇt)$‡Ð.Êf¢X’Kt=Éé$‚ˆªè¢oÝëòI%Rgcª÷ŠyI%¡‰ÿ !ñ)´õ $¤ Ô’IIGÿÙ XT\dZdZdZddlZddlZddlZddlmZddl m Z edkZ dZ e re ZneZd Zd Zd ZGd d eZGddeZdS)aPure python bindings for the augeas library Augeas is a library for programmatically editing configuration files. Augeas parses configuration files into a tree structure, which it exposes through its public API. Changes made through the API are written back to the initially read files. The transformation works very hard to preserve comments and formatting details. It is controlled by ``lens'' definitions that describe the file format and the transformation into a tree. z/Nathaniel McCallum zJeff Schroeder Harald Hoyer - initial python bindings, packaging Nils Philippsen N) version_info)reduce)utf8c>|r|tSdSN)encodeAUGENCsts (/usr/lib/python3/dist-packages/augeas.pyencr:& !yy   !!c>|r|tSdSr)decoder r s r decr?rrcdd|DD}td|d}|std|dz|S)z]Search for one of the libraries given as arguments and load it. Returns the library. cg|]}||Sr).0ls r z_dlopen..Hs J J J! JA J J JrcLg|]!}tj|"Sr)ctypesutil find_library)ras r rz_dlopen..Hs(DDD11!44DDDrcD|ptj|Sr)rcdll LoadLibrary)xys r z_dlopen..Isq>FK$;$;A$>$>rNzUnable to import lib%s!r)r ImportError)argslibslibs r _dlopenr)Dsa K JDDdDDD J J JD >>d K KC ?3d1g=>>> JrceZdZdZedZejej_ dZ dZ dZ dZ dZdZd Zd Zd Zd d e fd ZdZdZdZdZdZdZdZdZdZdZdZd&dZdZ dZ!dZ"dZ#dZ$d Z%d'd"Z&d(d$Z'd%Z(d S))Augeasz$Class wrapper for the augeas libraryaugeasr @Nct|ts|dkrtdt|ts|dkrtdt|tstdtjt|t|||_|jstdtj |j|_dS)aInitialize the library. Use 'root' as the filesystem root. If 'root' is None, use the value of the environment variable AUGEAS_ROOT. If that doesn't exist either, use "/". 'loadpath' is a colon-spearated list of directories that modules should be searched in. This is in addition to the standard load path and the directories in AUGEAS_LENS_LIB. 'flags' is a bitmask made up of values from AUG_FLAGS.Nzroot MUST be a string or None!z"loadpath MUST be a string or None!zflag MUST be a flag!zUnable to create Augeas object!) isinstance string_types TypeErrorintr+ _libaugeasaug_initr_Augeas__handle RuntimeErrorrc_void_p)selfrootloadpathflagss r __init__zAugeas.__init__`s$ -- >$$,,<== =(L11 Bh$6F6F@AA A%%% 4233 3)223t99c(mmUSS } B@AA A 66 rc.|dSr)closer?s r __del__zAugeas.__del__|s rcxt|tstd|jst dt j}tj |jt|t j |}|dkrtdt|jS)zLookup the value associated with 'path'. Returns the value at the path specified. It is an error if more than one node matches 'path'.path MUST be a string!*The Augeas object has already been closed!r-$path specified had too many matches!)r6r7r8r<r=rc_char_pr+r:aug_getrbyref ValueErrorrvaluer?pathrPrets r getz Augeas.gets $ -- 6455 5} MKLL L!!'' s4yy(. U(;(;== 77CDD D5;rcxt|tstd|jst dt j}tj |jt|t j |}|dkrtdt|jS)zLookup the label associated with 'path'. Returns the label of the path specified. It is an error if more than one node matches 'path'.rIrJr-rK)r6r7r8r<r=rrLr+r: aug_labelrrNrOrrP)r?rRlabelrSs r rWz Augeas.labels $ -- 6455 5} MKLL L!!))$-T*0,u*=*=?? 77CDD D5;rct|tstdt|ts/t|tdkrtd|jst dt j|jt|t|}|dkrtddS)zSet the value associated with 'path' to 'value'. Intermediate entries are created if they don't exist. It is an error if more than one node matches 'path'.rINzvalue MUST be a string or None!rJrUnable to set value to path!) r6r7r8typer<r=r+r:aug_setrrOrQs r setz Augeas.sets $ -- 6455 5%.. ?4;;$t**3L3L=>> >} MKLL L'' s4yy#e**MM !88;<< < 8rct|tkrtdt|tkr|dkrtdt|tkrtd|jst dt j|jt|t|t|}|dkrtd|S)aSet the value of multiple nodes in one operation. Find or create a node matching 'sub' by interpreting 'sub' as a path expression relative to each node matching 'base'. 'sub' may be None, in which case all the nodes matching 'base' will be modified.zbase MUST be a string!Nzsub MUST be a string or None!value MUST be a string!rJrrY) rZstrr8r<r=r+r:aug_setmrrO)r?basesubrPrSs r setmz Augeas.setms ::  455 5 99  t ;<< < ;;#  566 6} MKLL L(( M3t99c#hhE << 77;<< < rct|tstdt|tstdt|tstd|jst dt j|jt|t|t|}|dkrtd|S)zUse the value of node 'node' as a string and transform it into a tree using the lens 'lens' and store it in the tree at 'path', which will be overwritten. 'path' and 'node' are path expressions.lens MUST be a string!znode MUST be a string!rIrJrUnable to store text at node!) r6r7r8r<r=r+r:aug_text_storerrO)r?lensnoderRrSs r text_storezAugeas.text_stores $ -- 6455 5$ -- 6455 5$ -- 6455 5} MKLL L.. M3t99c$iiT<< !88<== = rc 4t|tstdt|tstdt|tstdt|tstd|jst dt j|jt|t|t|t|}|dkrtd|S)zTransform the tree at 'path' into a string using lens 'lens' and store it in the node 'node_out', assuming the tree was initially generated using the value of node 'node_in'. 'path', 'node_in', and 'node_out' are path expressions.reznode_in MUST be a string!rIznode_out MUST be a string!rJrrf) r6r7r8r<r=r+r:aug_text_retrieverrO)r?rhnode_inrRnode_outrSs r text_retrievezAugeas.text_retrieves $ -- 6455 5'<00 9788 8$ -- 6455 5(L11 :899 9} MKLL L11 M3t99c'llCIIs8}}NN !88<== = rct|tkrtdt|tkr|dkrtd|jst dt j|jt|t|}|dkrtd|S)a~Define a variable 'name' whose value is the result of evaluating 'expr'. If a variable 'name' already exists, its name will be replaced with the result of evaluating 'expr'. If 'expr' is None, the variable 'name' will be removed if it is defined. Path variables can be used in path expressions later on by prefixing them with '$'.name MUST be a string!Nzexpr MUST be a string or None!rJrzUnable to register variable!) rZr_r8r<r=r+r: aug_defvarrrO)r?nameexprrSs r defvarz Augeas.defvars ::  455 5 ::  <== =} MKLL L**4=#d))SYYOO 77;<< < rct|tkrtdt|tkrtdt|tkrtd|jst dt j|jt|t|t|d}|dkrtd|S)aDefine a variable 'name' whose value is the result of evaluating 'expr', which must not be None and evaluate to a nodeset. If a variable 'name' already exists, its name will be replaced with the result of evaluating 'expr'. If 'expr' evaluates to an empty nodeset, a node is created, equivalent to calling set(expr, value) and 'name' will be the nodeset containing that single node.rqzexpr MUST be a string!r^rJNrzUnable to register node!) rZr_r8r<r=r+r: aug_defnoderrO)r?rsrtrPrSs r defnodezAugeas.defnodes ::  455 5 ::  455 5 ;;#  566 6} MKLL L++ M3t99c$iiUTCC 77788 8 rclt|tstdt|tstd|jst dt j|jt|t|}|dkrtddS)ajMove the node 'src' to 'dst'. 'src' must match exactly one node in the tree. 'dst' must either match exactly one node in the tree, or may not exist yet. If 'dst' exists already, it and all its descendants are deleted before moving 'src' there. If 'dst' does not exist yet, it and all its missing ancestors are created.src MUST be a string!dst MUST be a string!rJrzUnable to move src to dst!N) r6r7r8r<r=r+r:aug_mvrrOr?srcdstrSs r movez Augeas.move7s#|,, 5344 4#|,, 5344 4} MKLL L&&t}c#hhCII !889:: : 8rclt|tstdt|tstd|jst dt j|jt|t|}|dkrtd|S)z6Rename the label of all nodes matching 'src' to 'lbl'.rzr{rJrzUnable to rename src as dst!) r6r7r8r<r=r+r: aug_renamerrOr}s r renamez Augeas.renameKs#|,, 5344 4#|,, 5344 4} MKLL L**4=#c((CHHMM 77;<< < rTcvt|tstdt|tstd|jst dt j|jt|t||rdpd}|dkrtddS)aXCreate a new sibling 'label' for 'path' by inserting into the tree just before 'path' (if 'before' is True) or just after 'path' (if 'before' is False). 'path' must match exactly one existing node in the tree, and 'label' must be a label, i.e. not contain a '/', '*' or end with a bracketed index '[N]'.rIzlabel MUST be a string!rJr-rzUnable to insert label!N) r6r7r8r<r=r+r: aug_insertrrO)r?rRrWbeforerSs r insertz Augeas.insert\s$ -- 6455 5%.. 7566 6} MKLL L**4=#d))+.u::v|!7HqJJ !88677 7 8rct|tstd|jst dt j|jt|S)zRemove 'path' and all its children. Returns the number of entries removed. All nodes that match 'path', and their descendants, are removed.rIrJ) r6r7r8r<r=r+r:aug_rmr)r?rRs r removez Augeas.removessb $ -- 6455 5} MKLL L '' s4yyAAArc t|tstd|jst dt jt j}tj |jt|t j |}|dkrt d|g}t|D]}||r|tt j||t jjt jt j||t j||S)aReturn the matches of the path expression 'path'. The returned paths are sufficiently qualified to make sure that they match exactly one node in the current tree. Path expressions use a very simple subset of XPath: the path 'path' consists of a number of segments, separated by '/'; each segment can either be a '*', matching any tree node, or a string, optionally followed by an index in brackets, matching tree nodes labelled with exactly that string. If no index is specified, the expression matches all nodes with that label; the index can be a positive number N, which matches exactly the Nth node with that label (counting from 1), or the special expression 'last()' which matches the last node with the given label. All matches are done in fixed positions in the tree, and nothing matches more than one path segment.rIrJrzError during match procedure!)r6r7r8r<r=rPOINTERr>r+r: aug_matchrrNrangeappendrcastrLrP pythonapi PyMem_Free)r?rRarrayrSmatchesis r matchz Augeas.matchs]"$ -- 6455 5} MKLL L0v//11))$-T*0,u*=*=?? 77>EE Es G GAQx Gs6;uQx/5$@$@@E G GHHH  ++FOE!H,E,EFFF ##E***rc $t|tstd|jst dt j}t j}t j}t j}t j}t j}t j}t j} tj |jt|| || || || || || || | } | dkrtdt|j|j|j|j|j|j|jfS)aiGet the span according to input file of the node associated with PATH. If the node is associated with a file, un tuple of 5 elements is returned: (filename, label_start, label_end, value_start, value_end, span_start, span_end). If the node associated with PATH doesn't belong to a file or is doesn't exists, ValueError is raised.rIrJrzError during span procedure)r6r7r8r<r=rrLc_uintrNr+r:aug_spanrrOrrP) r?rRfilename label_start label_end value_start value_end span_startspan_endrrSs r spanz Augeas.spansR$ -- 6455 5} MKLL L?$$moo MOO moo MOO ]__ =?? L((D 11X;;)*;9)*;9)*:( EE !GG:;; ;HN##[%6 !9? (.2 2rc|jstdtj|j}|dkrt ddS)aWrite all pending changes to disk. Only files that had any changes made to them are written. If SAVE_NEWFILE is set in the creation 'flags', create changed files as new files with the extension ".augnew", and leave the original file unmodified. Otherwise, if SAVE_BACKUP is set in the creation 'flags', move the original file to a new file with extension ".augsave". If neither of these flags is set, overwrite the original file.rJrzUnable to save to file!N)r<r=r+r:aug_saveIOErrorr?rSs r savez Augeas.savesW} MKLL L((77 !88344 4 8rc|jstdtj|j}|dkrtddS)aLoad files into the tree. Which files to load and what lenses to use on them is specified under /augeas/load in the tree; each entry /augeas/load/NAME specifies a 'transform', by having itself exactly one child 'lens' and any number of children labelled 'incl' and 'excl'. The value of NAME has no meaning. The 'lens' grandchild of /augeas/load specifies which lens to use, and can either be the fully qualified name of a lens 'Module.lens' or '@Module'. The latter form means that the lens from the transform marked for autoloading in MODULE should be used. The 'incl' and 'excl' grandchildren of /augeas/load indicate which files to transform. Their value are used as glob patterns. Any file that matches at least one 'incl' pattern and no 'excl' pattern is transformed. The order of 'incl' and 'excl' entries is irrelevant. When AUG_INIT is first called, it populates /augeas/load with the transforms marked for autoloading in all the modules it finds. Before loading any files, AUG_LOAD will remove everything underneath /augeas/files and /files, regardless of whether any entries have been modified or not.rJrzaug_load() failed!N)r<r=r+r:aug_loadrs r loadz Augeas.loadsU2} MKLL L((77 !88344 4 8rc0|ddS)zClear all transforms beneath /augeas/load. If load() is called right after this, there will be no files beneath /files.z/augeas/load/*N)rrFs r clear_transformszAugeas.clear_transforms s $%%%%%rrc|r!ddl}|dtdt|tr|g}t|tr|g}t t |D]}||||d t t |D]}||||d dS)aAdd a transform beneath /augeas/load. lens: the (file)name of the lens to use incl: one or more glob patterns for the files to transform name: deprecated parameter excl: zero or more glob patterns of files to exclude from transforming rNz'name is now deprecated in this functionr. stacklevelFT)warningswarnDeprecationWarningr6r7rlen transform)r?rhinclrsexclrrs r add_transformzAugeas.add_transforms  ( OOO MMCEW%&  ( ( ( t\ * * 6D t\ * * 6Ds4yy!! 1 1A NN4a% 0 0 0 0s4yy!! 0 0A NN4a$ / / / / 0 0rFct|tstdt|tstdt|tstd|jst dt j|jt|t||}|dkrt ddS)a$Add a transform for 'file' using 'lens'. 'excl' specifies if this the file is to be included (False) or excluded (True) from the 'lens'. The 'lens' may be a module name or a full lens name. If a module name is given, then lns will be the lens assumed. rezfile MUST be a string!zexcl MUST be a boolean!rJrzUnable to add transform!N) r6r7r8boolr<r=r+r: aug_transformr)r?rhfilerrSs r rzAugeas.transform&s$ -- 6455 5$ -- 6455 5$%% 7566 6} MKLL L--dmSYYD SWXX !889:: : 8rcn|jsdStj|jd|_dS)zClose this Augeas instance and free any storage associated with it. After this call, this Augeas instance is invalid and can not be used for any more operations.N)r<r+r: aug_closerFs r rEz Augeas.close;s; }  F ##DM222 r)T)Nr)F))__name__ __module__ __qualname____doc__r)r:rr>r;restypeNONE SAVE_BACKUP SAVE_NEWFILE TYPE_CHECK NO_STDINC SAVE_NOOPNO_LOADNO_MODL_AUTOLOAD ENABLE_SPANrCrGrTrWr\rcrjrorurxrrrrrrrrrrrrErrr r+r+Ns**""J"(/J DKLJIIGK 4t77778   ,   ,===$0,026;;;("8888. B B B///b 2 2 2D555,555@&&& 0000.;;;;*     rr+c"eZdZdZfdZxZS)r,z2Compat class, obsolete. Use class Augeas directly.cddl}|dtdtt|j|i|dS)Nrzuse Augeas instead of augeasr.r)rrrsuperr,rC)r?pkr __class__s r rCzaugeas.__init__OsX 46H    $fd$a-1-----r)rrrrrC __classcell__)rs@r r,r,Ls>88.........rr,)r __author__ __credits__typesr ctypes.utilsysr_pyver functoolsrPY3r r_r7 basestringrrr)objectr+r,rrr rs  D?   &&&&&& n LLL!!! !!! zzzzzVzzz|.....V.....r