ok
Direktori : /proc/thread-self/root/proc/thread-self/root/proc/self/root/lib64/python2.7/Tools/scripts/ |
Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/lib64/python2.7/Tools/scripts/diff.pyo |
� iцdc @ 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 sG 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 � } t | d � j � } | j r�t j | | | | | | d | �} n{ | j r�t j | | � } n] | j rt j � j | | | | d | j d | �} n$ t j | | | | | | d | �} t j j | � d S( Ns&