diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-06 00:49:45 +0000 |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2009-02-06 00:49:45 +0000 |
commit | aaf2e1884152df80dc8c0167ed1c65eb503484e0 (patch) | |
tree | 65b8adec11cb7d22b4f862a97034a5e4e4ef0741 /Lib/distutils/file_util.py | |
parent | 81fe09344cfa290efd6041269e70a2d0b629a7c8 (diff) | |
download | cpython-git-aaf2e1884152df80dc8c0167ed1c65eb503484e0.tar.gz |
using >= so setting verbose to 2 will work as well
Diffstat (limited to 'Lib/distutils/file_util.py')
-rw-r--r-- | Lib/distutils/file_util.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py index 82a8b0ad19..0c890559ee 100644 --- a/Lib/distutils/file_util.py +++ b/Lib/distutils/file_util.py @@ -123,7 +123,7 @@ def copy_file (src, dst, dir = os.path.dirname(dst) if update and not newer(src, dst): - if verbose == 1: + if verbose >= 1: log.debug("not copying %s (output up-to-date)", src) return dst, 0 @@ -133,7 +133,7 @@ def copy_file (src, dst, raise ValueError, \ "invalid value '%s' for 'link' argument" % link - if verbose == 1: + if verbose >= 1: if os.path.basename(dst) == os.path.basename(src): log.info("%s %s -> %s", action, src, dir) else: @@ -194,7 +194,7 @@ def move_file (src, dst, from os.path import exists, isfile, isdir, basename, dirname import errno - if verbose == 1: + if verbose >= 1: log.info("moving %s -> %s", src, dst) if dry_run: |