403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/telepathy/client/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyc
Ñò
gÙLJc@stdZddkZddkZddkZddkZddkZeeddƒZd„Zdd	d„ƒYZ	dS(
sV
Loads .manager files according to
http://telepathy.freedesktop.org/wiki/FileFormats.
iÿÿÿÿNtversionicCs‚|idƒ}|iƒg}x\|D]T}t|ƒoAtiitii|ƒƒ}|itii|ddƒƒq&q&W|S(Nt:t	telepathytmanagers(	tsplittreversetlentostpathtabspatht
expandusertappendtjoin(tpathlisttdirlisttdirsR((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt_convert_pathlist!s

'tManagerRegistrycBsYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cCs
h|_dS(N(tservices(tself((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt__init__-scCsótiƒ}|i|ƒtii|ƒtdƒ }h|d6d|d6d|d6|i|<h}xWt|i	ƒƒD]C}|i
dƒo-|tdƒ}t|i|ƒƒ||<qyqyW|pti
d|ƒ‚n||i|d	<dS(
Ns.managertnames.org.freedesktop.Telepathy.ConnectionManager.%stbusnames//org/freedesktop/Telepathy/ConnectionManager/%st
objectpaths	Protocol sno protocols found (%s)tprotos(tConfigParsertRawConfigParsertreadRRtbasenameRRtsettsectionst
startswithtdicttitemstNoSectionError(RRtconfigtcm_namet	protocolstsectiont
proto_name((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pytLoadManager0s 
!cCsHg}tiidƒo|ttidƒ7}n|idƒ|idƒtiidƒ}tiidƒo|ttidƒ7}n&|itii|dddd	ƒƒ|itii|d
d	ƒƒxo|D]g}tii|ƒoNxKt	i
|ƒD]6}|idƒo |itii||ƒƒqqWqÙqÙWdS(
s»
        Searches local and system wide configurations

        Can raise all ConfigParser errors. Generally filename member will be
        set to the name of the erronous file.
        t
XDG_DATA_DIRSs/usr/share/telepathy/managerss#/usr/local/share/telepathy/managerst~t
XDG_DATA_HOMEs.localtshareRRs
.telepathys.managerN(
Rtenvironthas_keyRRRR
RtexiststdircachetlistdirtendswithR((Rt	all_pathsthomeRR((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pytLoadManagersFs$	


cCsftƒ}xP|iiƒD]?}|i|idƒo"|i|i|diƒƒqqWt|ƒS(sF
        returns a list of protocols supported on this system
        R(RRtkeysR.tupdatetlist(RRtservice((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt	GetProtoses	&cCshg}x[|iiƒD]J}d|i|jo0|i|di|ƒo|i|ƒq`qqW|S(sO
        Returns names of managers that can handle the given protocol.
        R(RR6R.R(RtprotoRR9((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pytGetManagersoscCsA||ijpt‚d|i|jpt‚|i|dS(NR(RtAssertionError(Rtmanager((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt
GetBusNamezscCsA||ijpt‚d|i|jpt‚|i|dS(NR(RR=(RR>((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt
GetObjectPathscCs)tii|i|d|i|dƒS(NRR(RtclienttConnectionManagerR(RR>((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt
GetManager„s	cCsÂh}|i|d|}x |iƒD]’\}}|idƒpq(n|tdƒ}|iƒ}|d}	d}
d}d|jo|
tiO}
nd|jo|
tiO}
nxë|iƒD]Ý\}}|i	ƒid|ƒo·t
djoti|i	ƒd|	ƒ}n{|i	ƒ}|	d	jot
|ƒ}nR|	d
jo'|iƒdjo
t}q’t}n|	d
jot|ƒ}n|
tiO}
qÆqÆW|	||
f||<q(W|S(s 
        Returns a dict of paramters for the given proto on the given manager.
        The keys will be the parameters names, and the values a tuple of (dbus
        type, default value, flags). If no default value is specified, the
        second item in the tuple will be None.
        Rsparam-itregistertrequiredsdefault-iPt	signaturetuiqntxytbt0tfalsetdN(iiP(RIRJ(Rt	iteritemsRRRtNoneRtCONN_MGR_PARAM_FLAG_REGISTERtCONN_MGR_PARAM_FLAG_REQUIREDtstript_dbus_py_versiontdbustVarianttinttlowertFalsetTruetfloattCONN_MGR_PARAM_FLAG_HAS_DEFAULT(RR>R;tparamsR#tkeytvalRtvaluesttypetflagstdefault((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt	GetParams‰s@










(t__name__t
__module__RR(R5R:R<R?R@RCRa(((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyR,s				
				(iii((
t__doc__RRR0RRRtgetattrRQRR(((sD/usr/lib/python2.6/site-packages/telepathy/client/managerregistry.pyt<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit