Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.

This commit is contained in:
Greg Ward 2000-01-09 22:39:32 +00:00
parent d08833ff1d
commit e9436da686
1 changed files with 5 additions and 5 deletions

View File

@ -338,7 +338,7 @@ class Dist (Command):
# pattern
if os.path.isdir (words[0]):
if exclude:
file.warn ("exclude (!) doesn't apply to " +
manifest.warn ("exclude (!) doesn't apply to " +
"whole directory trees")
continue
@ -348,7 +348,7 @@ 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 " +
manifest.warn ("can't have multiple words unless first word " +
"('%s') is a directory name" % words[0])
continue
@ -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'