diff options
| author | tarek <devnull@localhost> | 2010-02-22 00:36:02 -0500 |
|---|---|---|
| committer | tarek <devnull@localhost> | 2010-02-22 00:36:02 -0500 |
| commit | 9eda88f8260b739497cbd9572cd5b6e73242e7c7 (patch) | |
| tree | 92f4e2db889cd03cf114caf995b0fd15011d0b60 /src/distutils2 | |
| parent | 0da6ae7fb54dcfbb97e557612a0c6507ae551e51 (diff) | |
| download | disutils2-9eda88f8260b739497cbd9572cd5b6e73242e7c7.tar.gz | |
added the --dev option to the install command as well
Diffstat (limited to 'src/distutils2')
| -rw-r--r-- | src/distutils2/_backport/shutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/distutils2/_backport/shutil.py b/src/distutils2/_backport/shutil.py index 8ede91e..b59b6fd 100644 --- a/src/distutils2/_backport/shutil.py +++ b/src/distutils2/_backport/shutil.py @@ -358,7 +358,8 @@ def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, archive_dir = os.path.dirname(archive_name) if not os.path.exists(archive_dir): - logger.info("creating %s" % archive_dir) + if logger is not None: + logger.info("creating %s" % archive_dir) if not dry_run: os.makedirs(archive_dir) |
