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
1b8e1d4c
Commit
1b8e1d4c
authored
Apr 26, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Harry Henry Gebel:
Fix 'sdist.write_manifest()' to respect the value of dry_run.
parent
14f3f59d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Lib/distutils/command/sdist.py
Lib/distutils/command/sdist.py
+5
-5
No files found.
Lib/distutils/command/sdist.py
View file @
1b8e1d4c
...
...
@@ -11,7 +11,8 @@ import fnmatch
from
types
import
*
from
glob
import
glob
from
distutils.core
import
Command
from
distutils.util
import
newer
,
create_tree
,
remove_tree
,
native_path
from
distutils.util
import
newer
,
create_tree
,
remove_tree
,
native_path
,
\
write_file
from
distutils.archive_util
import
check_archive_formats
from
distutils.text_file
import
TextFile
from
distutils.errors
import
DistutilsExecError
,
DistutilsOptionError
...
...
@@ -447,10 +448,9 @@ class sdist (Command):
by 'find_defaults()' and 'read_template()') to the manifest file
named by 'self.manifest'."""
manifest = open (self.manifest, "
w
")
for fn in self.files:
manifest.write (fn + '
\
n
')
manifest.close ()
self.execute(write_file,
(self.manifest, self.files),
"
writing
manifest
file
")
# write_manifest ()
...
...
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