From aa743d49e51efe234ba90afb94e6f26f6fb0baf3 Mon Sep 17 00:00:00 2001 From: calvin Date: Mon, 29 May 2006 12:44:46 +0000 Subject: [PATCH] cleanup git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3320 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- setup.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index b8c69c32..9119b148 100755 --- a/setup.py +++ b/setup.py @@ -56,13 +56,17 @@ win_bat_releases = ['NT', 'XP', '2000', '2003Server'] def normpath (path): - """norm a path name to platform specific notation""" + """ + Norm a path name to platform specific notation. + """ return os.path.normpath(path) def cnormpath (path): - """norm a path name to platform specific notation, but honoring - the win_compiling flag""" + """ + Norm a path name to platform specific notation, but honoring + the win_compiling flag. + """ path = normpath(path) if win_compiling: # replace slashes with backslashes @@ -300,7 +304,7 @@ def cc_supports_option (cc, option): pipe.tochild.close() status = pipe.wait() if os.WIFEXITED(status): - return os.WEXITSTATUS(status)==0 + return os.WEXITSTATUS(status) == 0 return False