//lib/python2.7/site-packages/serial/urlhandler/

OS : Linux

PHP Version : 7.4.33

Software : Apache/2.4.6 (CentOS) PHP/7.4.33

Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64

Disable Function : ó qôNNc@s^ddlZddlZdejfd„ƒYZedkrZedƒZde_eGHndS(iÿÿÿÿNtSerialcBs;eZdZd„Zd„ZeejjeddƒZ RS(sOJust inherit the native Serial port implementation and patch the open function.cCsTt|tƒr=|jdƒr=tjj||j|ƒƒntjj||ƒdS(s%translate port name before storing its hwgrep://N(t isinstancet basestringt startswithtserialRtsetPorttfromURL(tselftvalue((sE/usr/lib/python2.7/site-packages/serial/urlhandler/protocol_hwgrep.pyRscCsf|jƒjdƒr"|d}nx=tjjj|ƒD]\}}}|SWtjd|fƒ‚dS(s(extract host and port from an URL strings hwgrep://i s!no ports found matching regexp %rN(tlowerRRttoolst list_portstgreptSerialException(Rturltporttdescthwid((sE/usr/lib/python2.7/site-packages/serial/urlhandler/protocol_hwgrep.pyRs  %tdocs Port setting( t__name__t __module__t__doc__RRtpropertyRRtgetPortR(((sE/usr/lib/python2.7/site-packages/serial/urlhandler/protocol_hwgrep.pyRs  t__main__shwgrep://ttyS0(Rtserial.tools.list_portsRRtNonetsR(((sE/usr/lib/python2.7/site-packages/serial/urlhandler/protocol_hwgrep.pyts