summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-01-09 22:39:32 (GMT)
committerGreg Ward <gward@python.net>2000-01-09 22:39:32 (GMT)
commite9436da6863e18f710e0908cb8d4be4b571a172d (patch)
treea91184edf0bf1a14fae2384b86aea8e55aaa76e6
parentd08833ff1df95abc770b60bb026b7734ed958237 (diff)
downloadcpython-e9436da6863e18f710e0908cb8d4be4b571a172d.zip
cpython-e9436da6863e18f710e0908cb8d4be4b571a172d.tar.gz
cpython-e9436da6863e18f710e0908cb8d4be4b571a172d.tar.bz2
Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.
-rw-r--r--Lib/distutils/command/dist.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/distutils/command/dist.py b/Lib/distutils/command/dist.py
index 9931e37..80af990 100644
--- a/Lib/distutils/command/dist.py
+++ b/Lib/distutils/command/dist.py
@@ -338,8 +338,8 @@ class Dist (Command):
# pattern
if os.path.isdir (words[0]):
if exclude:
- file.warn ("exclude (!) doesn't apply to " +
- "whole directory trees")
+ manifest.warn ("exclude (!) doesn't apply to " +
+ "whole directory trees")
continue
dir_files = self.search_dir (words[0], words[1:])
@@ -348,8 +348,8 @@ class Dist (Command):
# Multiple words in pattern: that's a no-no unless the first
# word is a directory name
elif len (words) > 1:
- file.warn ("can't have multiple words unless first word " +
- "('%s') is a directory name" % words[0])
+ manifest.warn ("can't have multiple words unless first word " +
+ "('%s') is a directory name" % words[0])
continue
# Single word, no bang: it's a "simple include pattern"
@@ -364,7 +364,7 @@ class Dist (Command):
# Single word prefixed with a bang: it's a "simple exclude pattern"
else:
if self.exclude_files (pattern) == 0:
- file.warn ("no files excluded by '%s'" % pattern)
+ manifest.warn ("no files excluded by '%s'" % pattern)
# if/elif/.../else on 'pattern'