ok
Direktori : /proc/thread-self/root/proc/self/root/usr/lib64/python2.7/Tools/scripts/ |
Current File : //proc/thread-self/root/proc/self/root/usr/lib64/python2.7/Tools/scripts/diff.pyc |
� �fc @ se d Z d d l Z d d l Z d d l Z d d l Z d d l Z d � Z e d k ra e � n d S( sS Command line interface to difflib.py providing diffs in four formats: * ndiff: lists every line and highlights interline changes. * context: highlights clusters of changes in a before/after format. * unified: highlights clusters of changes in an inline format. * html: generates side by side comparison with change highlights. i����Nc C se d } t j | � } | j d d d d t d d �| j d d d d t d d �| j d d d d t d d �| j d d d d t d d �| j d d d d d d d d �| j � \ } } t | � d k r� | j � t j d � n t | � d k r| j d � n | j } | \ } } t j t j | � j � } t j t j | � j � } t | d � � } | j � } Wd QXt | d � � } | j � } Wd QX| j r�t j | | | | | | d | �} n{ | j r�t j | | � } n] | j r-t j � j | | | | d | j d | �} n$ t j | | | | | | d | �} t j j | � d S( Ns&