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/bugzilla/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyo
Ñò
º¨äIc@sXddkZdeiifd„ƒYZdefd„ƒYZdefd„ƒYZdS(iÿÿÿÿNt	Bugzilla3cBs£eZdZdZeiideZd„Zd„Zd„Z	d„Z
d„Zd„Zd	„Z
d
„Zd„ZeZeZdZd„Zddd„ZRS(s}Concrete implementation of the Bugzilla protocol. This one uses the
    methods provided by standard Bugzilla 3.0.x releases.s0.1s
 Bugzilla3/%scKs)tiii|||ii|_dS(N(tbugzillatbasetBugzillaBaset__init__t	__class__t
user_agent(tselftkwargs((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyRscCs!|iiih|d6|d6ƒS(s"Backend login method for Bugzilla3tlogintpassword(t_proxytUserR	(RtuserR
((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt_loginscCs|iiiƒS(s"Backend login method for Bugzilla3(RRtlogout(R((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt_logoutscCs
t|ƒS(s%Get the username for the given userid(tstr(Rtuserid((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt
_getuserforid#scCs7|idƒiƒ}d|jo|idƒn|S(s$Get a list of valid fields for bugs.itassigned_to(t_getbugtkeystappend(Rtkeylist((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt
_getbugfields)s
cCs/|iiiƒ}|iii|ƒ}|dS(s^This throws away a bunch of data that RH's getProdInfo
        didn't return. Ah, abstraction.tproducts(RtProducttget_accessible_productstget_products(Rtproduct_idstr((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt_getproducts1scCsQt|ƒtjo|i|ƒ}n|iiih|d6dd6ƒ}|dS(Nt
product_idt	componenttfieldtvalues(ttypeRt_product_name_to_idRtBugtlegal_values(RtproductR((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt_getcomponents7s#cCsJ|iiih|d6dd6ƒ}g}|dD]}||dq2~S(s=Return a list of dicts of full bug info for each given bug idtidsit
permissivetbugst	internals(RR'tget_bugs(RtidlistRt_[1]ti((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt_getbugs?s#cCs|i|gƒdS(s3Return a dict of full bug info for the given bug idi(R3(Rtid((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyRCsR)R"tsummarytversiontop_systplatformcKs|iii|ƒ}|dS(sRaw xmlrpc call for createBug() Doesn't bother guessing defaults
        or checking argument validity. Use with care.
        Returns bug_idR4(RR'tcreate(RtdataR((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt
_createbugNscCs|iii|||ƒ}|S(sÉCreate a new bugzilla user directly.

        :arg email: email address for the new user
        :kwarg name: full name for the user
        :kwarg password: a password to use with the account
        (RRR9(RtemailtnameR
R((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt_createuserWs(sproducts	componentR5sversionR7splatformN(t__name__t
__module__t__doc__R6RRRRRRRRR R*R3Rt
_getbugsimplet_getbugssimpletcreatebug_requiredR;tNoneR>(((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyRs$											t
Bugzilla32cBsCeZdZdZeiideZd	Zedddd„Z	RS(
sConcrete implementation of the Bugzilla protocol. This one uses the
    methods provided by standard Bugzilla 3.2.x releases.

    For further information on the methods defined here, see the API docs:
    http://www.bugzilla.org/docs/3.2/en/html/api/
    s0.1s Bugzilla32/%sR)R"R5R6tcCs/|iiih|d6|d6|d6|d6ƒS(s:Add a comment to the bug with the given ID. Other optional 
        arguments are as follows:
            private:   if True, mark this comment as private.
            timestamp: Ignored by BZ32.
            worktime:  amount of time spent on this comment, in hours
            bz_gid:    Ignored by BZ32.
        R4tcommenttprivatet	work_time(RR'tadd_comment(RR4RHRIt	timestamptworktimetbz_gid((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt_addcommentns	(sproducts	componentssummarysversion(
R?R@RAR6RRRRDtFalseRO(((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyRFbst
Bugzilla34cBs4eZdZeiideZdddd„ZRS(s0.1s Bugzilla34/%scCsuh}|o||d<n|o||d<n|o||d<n|ptiidƒ‚n|iii|ƒS(snReturn a list of users that match criteria.

        :kwarg ids: list of user ids to return data on
        :kwarg names: list of user names to return data on
        :kwarg match: list of patterns.  Returns users whose real name or
            login name match the pattern.
        :raises xmlrpclib.Fault: Code 51: if a Bad Login Name was sent to the
                names array.
            Code 304: if the user was not authorized to see user they
                requested.
            Code 505: user is logged out and can't use the match or ids
                parameter.

        Available in Bugzilla-3.4+
        R+tnamestmatchs/_get() needs one of ids, names, or match kwarg.(RRtNeedParamErrorRRtget(RR+RRRStparams((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt	_getuserssN(R?R@R6RRRRERW(((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyRQ}s(t
bugzilla.baseRRRRRFRQ(((s6/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.pyt<module>sT

Youez - 2016 - github.com/yon3zu
LinuXploit