# HG changeset patch # User Oleg Oshmyan # Date 1306358456 -3600 # Node ID 92f76baebcc6f545eedbd2948f4195b01a1e15b3 # Parent 98bccf81db4d9fa2bac6b140694b140ba8ec0c9a Corrected mixed indentation (and a few line lengths) in compat.py diff -r 98bccf81db4d -r 92f76baebcc6 compat.py --- a/compat.py Wed May 25 00:27:12 2011 +0100 +++ b/compat.py Wed May 25 22:20:56 2011 +0100 @@ -8,8 +8,8 @@ # # * Except statements never specify target; instead, when needed, # the exception is taken from sys.exc_info(). Blame the incompatible -# syntaxes of the except clause in Python 2.5 and Python 3 and the lack -# of preprocessor macros in Python of any version ;P. +# syntaxes of the except clause in Python 2.5 and Python 3 +# and the lack of preprocessor macros in Python of any version ;P. # # * Keyword-only parameters are never used, even for parameters # that should never be given in as arguments. The reason is @@ -108,14 +108,14 @@ if path_is_unc ^ start_is_unc: raise ValueError("Cannot mix UNC and non-UNC paths (%s and %s)" - % (path, start)) + % (path, start)) if path_prefix.lower() != start_prefix.lower(): if path_is_unc: raise ValueError("path is on UNC root %s, start on UNC root %s" - % (path_prefix, start_prefix)) + % (path_prefix, start_prefix)) else: raise ValueError("path is on drive %s, start on drive %s" - % (path_prefix, start_prefix)) + % (path_prefix, start_prefix)) # Work out how much of the filepath is shared by start and path. i = 0 for e1, e2 in zip(start_list, path_list):