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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/packagekit/frontend.pyo
Ñò
¯séJc@sèddkZddkZddklZddkZddklZddklZl	Z	ddk
lZlZddk
l
Z
lZddk
lZdefd	„ƒYZd
efd„ƒYZdeifd
„ƒYZd„ZdS(iÿÿÿÿN(t
DBusGMainLoop(tPackageKitEnum(tPackageKitDbusInterfacet
dbusException(tPackageKitExceptiontPackageKitNotStarted(tPackageKitAccessDeniedtPackageKitTransactionFailure(tPackageKitBackendFailuret
PackageKitcBs7eZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zeedd„ƒƒZeeed„ƒƒZeed„ƒƒZeed„ƒƒZ eed„ƒƒZ!eed„ƒƒZ"eedd „ƒƒZ#eedd!„ƒƒZ$eedd"„ƒƒZ%eedd#„ƒƒZ&eedd$„ƒƒZ'eeded%„ƒƒZ(eeded&„ƒƒZ)eed'„ƒƒZ*eed(„ƒƒZ+eeeed)„ƒƒZ,eed*„ƒƒZ-eed+„ƒƒZ"eeed,„ƒƒZ.eed-„ƒƒZ/eed.„ƒƒZ0eed/„ƒƒZ1eed0„ƒƒZ2eed1„ƒƒZ3eed2„ƒƒZ4eed3„ƒƒZ5eed4„ƒƒZ6eed5„ƒƒZ7eed6„ƒƒZ8eed7„ƒƒZ9eed8„ƒƒZ:eed9„ƒƒZ;eed:„ƒƒZ<eed;„ƒƒZ=eed<„ƒƒZ>eed=„ƒƒZ?eedd>„ƒƒZ@eed?d@„ƒƒZARS(AcCs)tiƒ|_ti|dddƒdS(Nsorg.freedesktop.PackageKits/org/freedesktop/PackageKit(tgobjecttMainLooptloopRt__init__(tself((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR
"s
	cCs
|iiƒS(N(tpk_ifacetGetTid(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyttid)scCsctdtƒd}tiƒ}|i|iddddd|ƒti|id|iƒƒ|ƒS(Ntset_as_defaults&org.freedesktop.PackageKit.Transactiontinterface_keywordtdbus_interfacetmember_keywordtmembersorg.freedesktop.PackageKit(	RtTruetdbust	SystemBustadd_signal_receivertcatchall_signal_handlert	Interfacet
get_objectR(Rt	interfacetbus((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyt	get_iface,s

"cs‡fd†}|S(s~
        Decorator for the dbus calls.
        Append async=True to the args if you want the call to be asynchronous.
        csf|d}tˆ|Œ}|djo
t‚n3d|iƒjo|djo|iƒn|SdS(Niiÿÿÿÿtasync(tpolkit_auth_wrapperRtkeystNonetrun(targstkwargsRtjid(tfunc(s7/usr/lib/python2.6/site-packages/packagekit/frontend.pytwrapper8s


 ((R)R*((R)s7/usr/lib/python2.6/site-packages/packagekit/frontend.pytjob_id3s	cCs|iiƒdS(N(RR%(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR%CscOsS|d}|djo|i|dƒn$|djo|i|dƒn|djo1|i|d|d|d|d|d	ƒnÄ|d
jo8|i|d|d|d|d|d	|dƒn|djo|i|d|dƒnV|d
jo|i|d|dƒn-|djo)|iiƒ|i|d|dƒn÷|djo|i	|d|dƒnÎ|djo#|i
|d|d|dƒnž|djo*|i|d|d|d|dƒng|djo#|i|d|d|dƒn7|djoF|i
|d|d|d|d|d	|d|d|dƒnä|djo*|i|d|d|d|dƒn­|djo#|i|d|d|dƒn}|djo|i|d|dƒnT|djo|i|dƒn2|djoF|i|d|d|d|d|d	|d|d|dƒnß|djob|i|d|d|d|d|d	|d|d|d|d|d|d|dƒnp|d jo#|i|d|d|dƒn@|d'jon/d$|GHd%GHx|D]}d&t|ƒGHq6WdS((NRtAllowCancelitCallerActiveChangedtCategoryiiiitDetailsit	ErrorCodetFilestFinishedtMessagetPackagetProgressChangedt
RepoDetailtRepoSignatureRequirediitEulaRequiredtMediaChangeRequiredtRequireRestartt
StatusChangedtTransactiontUpdateDetailii	i
it
DistroUpgradetDestroytLockedtTransactionListChangedsCaught unhandled signal %ss  args:s        (R?R@RA(R,R-R.R/R0R1RtquitR2R3R4R5R6R7R8R9R:R;R<R=R>tstr(RR&R'Rtarg((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRFs^



1
8





#
*
#
F
*
#


F
b
#
	cCsdS(N((Rtallow_cancel((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR,zscCsdS(N((Rt	is_active((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR-~scCsdS(N((Rt	parent_idtcat_idtnametsummaryticon((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR.‚scCsdS(N((Rt
package_idtlicensetgrouptdetailturltsize((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR/ŠscCsdS(N((Rtcodetdetails((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR0“scCsdS(N((RRLt	file_list((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR1˜scCsdS(N((Rtexittruntime((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR2scCsdS(N((RttypeRS((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR3¢scCsdS(N((RtinfoRLRJ((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR4§scCsdS(N((Rt
percentaget
subpercentagetelapsedt	remaining((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR5­scCsdS(N((Rtrepo_idtdescriptiontenabled((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR6´sc		CsdS(N((	RRLtrepository_nametkey_urlt
key_useridtkey_idtkey_fingerprintt
key_timestampRW((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR7ºs	cCsdS(N((Rteula_idRLtvendor_nametlicense_agreement((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR8ÅscCsdS(N((Rt
media_typetmedia_idt
media_text((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR9ÌscCsdS(N((RRWRL((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR:ÒscCsdS(N((Rtstatus((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR;×sc		CsdS(N((	Rtold_tidttimespect	succeededtroletdurationtdatatuidtcmdline((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR<Ûs	c

CsdS(N((
RRLtupdatest	obsoletest
vendor_urltbugzilla_urltcve_urltrestarttupdate_textt	changelogtstatetissuedtupdated((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR=æs
cCsdS(N((RRWRIRJ((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR>õstnonecCs|iƒi|ƒS(su
        Lists packages which could be updated.
        Causes 'Package' signals for each available package.
        (R t
GetUpdates(Rtfilter((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRÿscCs|iƒi|ƒS(s0
        Refreshes the backend's cache.
        (R tRefreshCache(Rtforce((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRƒscCs|iƒi||ƒS(s2
        Enable or disable the repository
        (R t
RepoEnable(RtrepoR_((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR…scCs|iƒi|ƒS(s2
        Enable or disable the repository
        (R tGetRepoList(RR‚((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR‡scCs|iƒiƒS(sE
        Applies all available updates.
        Asynchronous
        (R tUpdateSystem(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRˆ scCs|iƒi|ƒS(sE
        Applies all available updates.
        Asynchronous
        (R Rˆ(Rtpackage_ids((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pytUpdatePackages)scCs|iƒi||ƒS(s¯
        Finds a packages with the given names, and gives back a Package that matches those names exactly
        (not yet supported in yum backend, and maybe others)
        (R tResolve(Rt
package_namesR‚((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR‹2scCs|iƒi||ƒS(sË
        Searches the 'Name' field for something matching 'pattern'.
        'filter' could be 'installed', a repository name, or 'none'.
        Causes 'Package' signals for each package found.
        (R t
SearchName(RtpatternR‚((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR;scCs|iƒi||ƒS(sÎ
        Searches the 'Details' field for something matching 'pattern'.
        'filter' could be 'installed', a repository name, or 'none'.
        Causes 'Package' signals for each package found.
        (R t
SearchDetails(RRŽR‚((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyREscCs|iƒi||ƒS(sÀ
        Lists all packages in groups matching 'pattern'.
        'filter' could be 'installed', a repository name, or 'none'.
        Causes 'Package' signals for each package found.
        (R tSearchGroup(RRŽR‚((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyROscCs|iƒi||ƒS(sÊ
        Lists all packages that provide a file matching 'pattern'.
        'filter' could be 'installed', a repository name, or 'none'.
        Causes 'Package' signals for each package found.
        (R t
SearchFile(RRŽR‚((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR‘YscCs|iƒi|||ƒS(s,
        Lists package dependancies
        (R t
GetDepends(RR‰R‚t	recursive((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR’cscCs|iƒi|t|ƒS(s(
        Lists package requires
        (R tGetRequiresRL(RR‰R‚R“((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR”kscCs|iƒi|ƒS(s/
        More details about an update.
        (R tGetUpdateDetail(RR‰((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR•sscCs|iƒi|ƒS(s[
        Gets the Details of given package_ids.
        Causes a 'Details' signal.
        (R t
GetDetails(RR‰((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR–{scCs|iƒi|||ƒS(s8
        Removes packages.
        Asynchronous
        (R tRemovePackages(RR‰t
allow_depstauto_remove((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR—„scCs|iƒi|ƒS(s9
        Installs packages.
        Asynchronous
        (R tInstallPackages(RR‰((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRšscCs|iƒi|ƒS(s9
        Updates a package.
        Asynchronous
        (R RŠ(RR‰((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRŠ–scCs|iƒi||ƒS(sT
        Installs a package which provides given file?
        Asynchronous
        (R tInstallFiles(Rt
full_pathstonly_trusted((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR›ŸscCs|iƒi|ƒS(s$
        Set system locale.
        (R t	SetLocale(RRR((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRž¨scCs|iƒi|ƒS(sV
        This method allows the user to accept an end user licence agreement.
        (R t
AcceptEula(RRf((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRŸ°scCs|iƒi|ƒS(sV
        This method allows the user to accept an end user licence agreement.
        (R tDownloadPackages(RR‰((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR ¸scCs|iƒiƒS(s?
        Get if cancel is allowed for the transaction 
        (R tGetAllowCancel(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¡ÀscCs|iƒiƒS(s?
        This method returns the collection categories
        (R t
GetCategories(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¢ÈscCs|iƒi|ƒS(sL
        This method should return the file list of the package_ids
        (R tGetFiles(RR‰((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR£ÐscCs|iƒiƒS(sW
        This method emits the package that was last emmitted from the daemon.
        (R tGetPackageLast(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¤ØscCs|iƒiƒS(s_
        This method should return a list of distribution upgrades that are available.
        (R tGetDistroUpgrades(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¥àscCs|iƒi|||ƒS(sE
        This method allows us to install new security keys.
        (R tInstallSignature(Rtsig_typeRcRL((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¦èscCs|iƒiƒS(s{
        This method allows us to find if the original caller of the method is still connected to the session bus.
        (R tIsCallerActive(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¨ðscCs|iƒi|||ƒS(sZ
        This method allows arbitary data to be passed to the repository handler.
        (R tRepoSetData(RR]t	parametertvalue((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR©øscCs|iƒi|ƒS(sX
        This method rolls back the package database to a previous transaction.
        (R tRollback(Rttransaction_id((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¬scCs|iƒi|||ƒS(sT
        This method returns packages that provide the supplied attributes.
        (R tWhatProvides(RR‚RWtsearch((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR®scCs|iƒiƒS(s_
        Might not succeed for all manner or reasons.
        throws NoSuchTransaction
        (R tCancel(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR°scCs|iƒiƒS(s®
        This is what the transaction is currrently doing, and might change.
        Returns status (query, download, install, exit)
        throws NoSuchTransaction
        (R t	GetStatus(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR±scCs|iƒiƒS(så
        This is the master role, i.e. won't change for the lifetime of the transaction
        Returns status (query, download, install, exit) and package_id (package acted upon, or NULL
        throws NoSuchTransaction
        (R tGetRole(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR²$scCs|iƒiƒS(s1
        Returns progress of transaction
        (R tGetSubPercentage(R((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pytGetProgress.scCs|iƒi|ƒS(sh
        Returns packages being acted upon at this very moment
        throws NoSuchTransaction
        (R t
GetPackage(RR‚((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pytGetPackages6sicCs|iƒi|ƒS(sF
        Causes Transaction signals for each Old transaction.
        (R tGetOldTransactions(Rtnumber((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR·@s(Bt__name__t
__module__R
RR R+R%RR,R-R.R/R0R1R2R3R4R5R6R7R8R9R:R;R<R=R>RRtFalseRƒR…R‡RˆRŠR‹RRRR‘R’R”R•R–R—RšR›RžRŸR R¡R¢R£R¤R¥R¦R¨R©R¬R®R°R±R²R´R¶R·(((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR	!sä						4																				
		tDumpingPackageKitcBseZdZd„ZRS(sQ
    Just like PackageKit(), but prints all signals instead of handling them
    cOsX|ddjo|iiƒnd|dGHdGHx|D]}dt|ƒGHq;WdS(NRR2sCaught signal %ss  args:s        (RRBRC(RR&R'RD((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyRLs
(R¹Rºt__doc__R(((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¼HstPermissionDeniedByPolicycBseZdZRS(s6org.freedesktop.PackageKit.Transaction.RefusedByPolicy(R¹Rºt_dbus_error_name(((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR¾VscOsóy|||ŽSWnÛtij
oÌ}|itijo­|iiƒd\}}|idƒoltiƒidddƒ}|i	|ti
dƒti
tiƒƒddƒ}|GH|o|||ŽSnt|d	|ƒ‚qï‚nXd
S(s!Function call wrapper for PolicyKit authentication.

    Call fn(*args, **kwargs). If it fails with a PermissionDeniedByPolicy
    and the caller can authenticate to get the missing privilege, the PolicyKit
    authentication agent is called, and the function call is attempted again.
    iþÿÿÿtauth_s-org.freedesktop.PolicyKit.AuthenticationAgentt/s7org.gnome.PolicyKit.AuthorizationManager.SingleInstanceittimeouti,t N(
Rt
DBusExceptionR¿R¾tmessagetsplitt
startswitht
SessionBusRtObtainAuthorizationtUInt32tostgetpid(tfnR&R'tetprivtauth_resulttpk_authtres((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyR"Ys 	(RRËtdbus.mainloop.glibRR
tenumsRtpkdbusRRtpkexceptionsRRRRRR	R¼RÄR¾R"(((s7/usr/lib/python2.6/site-packages/packagekit/frontend.pyt<module>sÿÿ)

Youez - 2016 - github.com/yon3zu
LinuXploit