Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e9436da6
Commit
e9436da6
authored
Jan 09, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo fix: 'file.warn' should have been 'manifest.warn' in a couple of places.
parent
d08833ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Lib/distutils/command/dist.py
Lib/distutils/command/dist.py
+5
-5
No files found.
Lib/distutils/command/dist.py
View file @
e9436da6
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment