diff options
author | Fred Drake <fdrake@acm.org> | 2001-12-06 20:51:35 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-12-06 20:51:35 (GMT) |
commit | b94b849d65af71b4b432a74fdaef8ccd88209cc0 (patch) | |
tree | d32dd5d053192834153d90685ca56361f5ecc62a /Lib/distutils/dep_util.py | |
parent | bcd8975740da47e7d1c8a5d2839ad4bf214fe34b (diff) | |
download | cpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.zip cpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.tar.gz cpython-b94b849d65af71b4b432a74fdaef8ccd88209cc0.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/distutils/dep_util.py')
-rw-r--r-- | Lib/distutils/dep_util.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/dep_util.py b/Lib/distutils/dep_util.py index 4b93ed0..9edba4c 100644 --- a/Lib/distutils/dep_util.py +++ b/Lib/distutils/dep_util.py @@ -70,7 +70,7 @@ def newer_group (sources, target, missing='error'): # If the target doesn't even exist, then it's definitely out-of-date. if not os.path.exists(target): return 1 - + # Otherwise we have to find out the hard way: if *any* source file # is more recent than 'target', then 'target' is out-of-date and # we can immediately return true. If we fall through to the end @@ -80,12 +80,12 @@ def newer_group (sources, target, missing='error'): for source in sources: if not os.path.exists(source): if missing == 'error': # blow up when we stat() the file - pass - elif missing == 'ignore': # missing source dropped from + pass + elif missing == 'ignore': # missing source dropped from continue # target's dependency list elif missing == 'newer': # missing source means target is return 1 # out-of-date - + source_mtime = os.stat(source)[ST_MTIME] if source_mtime > target_mtime: return 1 |