|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /usr/lib64/python2.7/site-packages/django/contrib/admin/bin/ |
Upload File : |
� r�\c @ s� d d l Z d d l Z d d l Z d d l Z e j j e j j e j j e � � d d d � Z d � Z e d k r� e � n d S( i����Nt statict admint jsc C s� d } d } t j | d | �} | j d d d d d d d �| j d d d d d d �| j d d d d d d �| j � \ } } t j j | j � } t j j | � s� t j d | � n | s| j r� t j j d � n g d d d d g D] } t j j t | � ^ q� } n x� | D]� } | j d � sG| d } n t j j | � } t j j | � r�d d j | j d � � } d | | | f } | j r�t j j d | � n t j | j � � q%t j j d | � q%Wd S( Ns usage: %prog [file1..fileN]s� With no file paths given this script will automatically compress all jQuery-based files of the admin app. Requires the Google Closure Compiler library and Java version 6 or later.t descriptions -ct destt compilert defaults ~/bin/compiler.jart helps! path to Closure Compiler jar files -vs --verboset actiont store_truet verboses -qs --quiett store_falses\ Google Closure compiler jar file %s not found. Please use the -c option to specify the path.s0 No filenames given; defaulting to admin scripts s actions.jss collapse.jss inlines.jss prepopulate.jss .jss %s.min.jst s( java -jar %s --js %s --js_output_file %ss Running: %s s# File %s not found. Sure it exists? ( t optparset OptionParsert add_optiont parse_argst ost patht expanduserR t existst syst exitR t stdoutt writet joint js_patht endswitht rsplitt subprocesst callt split( t usageR t parsert optionst argsR t ft argt to_compresst to_compress_mint cmd( ( sC /tmp/pip-install-XxeQeY/django/django/contrib/admin/bin/compress.pyt main s: 4 t __main__( R R R R R R t dirnamet __file__R R) t __name__( ( ( sC /tmp/pip-install-XxeQeY/django/django/contrib/admin/bin/compress.pyt <module> s 3 %