changeset 143:92f76baebcc6

Corrected mixed indentation (and a few line lengths) in compat.py
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 25 May 2011 22:20:56 +0100
parents 98bccf81db4d
children 25b929aa92a1
files compat.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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):