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/share/system-config-printer/troubleshoot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pyc
Ñò
ÛßêJc
@svddkZddkZddkZddkZddkZddklZlZddkTde	fd„ƒYZ
dS(iÿÿÿÿN(tTimedOperationtTimedSubprocess(t*tCheckPPDSanitycBsGeZd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(cCsti||dƒtiƒ}|idƒ|idƒtiƒ|_|iit	ƒ|ii
t	ƒ|iiddƒ|i|it
t
dƒtiƒ}|itiƒtitdƒƒ|_|i|iƒ|i|t
t
dƒ|i||ƒdS(NsCheck PPD sanityiitInstall(tQuestiont__init__tgtktVBoxtset_border_widthtset_spacingtLabeltlabelt
set_line_wraptTruetset_use_markupt
set_alignmentt
pack_starttFalset
HButtonBoxt
set_layouttBUTTONBOX_STARTtButtont_tinstall_buttontaddtnew_page(tselfttroubleshootertvboxtbox((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pyRs

cCsÖh|_|ii}|dptS|iiƒ}|d}d}yhtidƒttid|ƒ|_	|i	i
ƒ}t|id|fd|ƒ|_	|i	i
ƒ}Wn*tj
otSti
j
otSX|iiƒd}d}y–ti|ƒ}t|id<d„}	h}
xW|iD]L}|	|iƒ}x'|iD]}
|	|
iƒ||
i<qIW||
|i<q*W|
|id<Wnßtj
oÓtd	ƒ}t|id<ytd|dd
d|gdtd
ƒdtidtiƒ|_	|i	i
ƒ}||id<tdƒ|}|dtd„|dƒ7}Wqjtj
otdƒ|}qjXnX|oti|ƒn|djo|doti |ƒ\}}||f|id<t!|ƒdjpt!|ƒdjo²tdƒ}t!|ƒdjo'yt"i#ƒ|_$Wq/g}q/Xnt!|ƒdjo7|d|_%tdƒ||i%f}|ii&ƒq›tdƒ|||df}qŸn|djo |i'i(d|d|ƒn|djS(Ntcups_queue_listedt
cups_queuettparenttargstcups_printer_ppd_validcSs+h}x|D]}|i||i<q
W|S(N(t	defchoicetkeyword(toptions_listtotoption((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pytoptionsRs
tcups_printer_ppd_defaultssInvalid PPD Filetcupstestppds-rvvtstdins	/dev/nulltstdouttstderrtcupstestppd_outputs^The PPD file for printer '%s' does not conform to the specification.  Possible reason follows:s
cSs|d|S(s
((txty((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pyt<lambda>msis6There is a problem with the PPD file for printer '%s'.tcups_printer_remotetmissing_pkgs_and_exessMissing Printer DriversGPrinter '%s' requires the %s package but it is not currently installed.sIPrinter '%s' requires the '%s' program but it is not currently installed.s"<span weight="bold" size="larger">s	</span>

()tanswersRRt
get_windowtNonetcupst	setServerRt
ConnectiontoptruntgetPPDtRuntimeErrortIPPErrorRthidetPPDRtoptionGroupsR*t	subgroupstnameRRtfilet
subprocesstPIPEtreducetOSErrortostunlinktcupshelperstmissingPackagesAndExecutablestlentinstallpackaget
PackageKitt
packagekittpackagetshowRt
set_markup(RR6R"REttmpftcttitlettexttppdR*tdefaultstgrouptgtsubgrouptresulttpkgstexes((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pytdisplay6s–	

!

	


	
	"	&
	
	
	cCs|iid|iƒ|_dS(Ntclicked(Rtconnecttinstall_clickedtbutton_sigid(Rthandle((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pytconnect_signals’scCs|ii|iƒdS(N(Rt
disconnectRf(R((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pytdisconnect_signals–scCs|iS(N(R6(R((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pytcollect_answer™scCs|iiƒdS(N(R<tcancel(R((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pytcancel_operationœscCs]|iidgƒ}|i|iƒ||id<y|iidd|iƒWnnXdS(Ntpackages_installedi(R6tgettappendRSRRtInstallPackageName(RtbuttonR`((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pyReŸs
(	t__name__t
__module__RRbRhRjRkRmRe(((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pyRs		\				(R9RMRPRKRGttimedopsRRtbaseRR(((s?/usr/share/system-config-printer/troubleshoot/CheckPPDSanity.pyt<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit