Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
fe953bf7
Commit
fe953bf7
authored
Apr 07, 2014
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo and indentation corrections. One more resource warning.
parent
6c97510b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+4
-3
No files found.
src/zc/buildout/easy_install.py
View file @
fe953bf7
...
@@ -1154,10 +1154,11 @@ def _create_script(contents, dest):
...
@@ -1154,10 +1154,11 @@ def _create_script(contents, dest):
win32_changed
=
True
win32_changed
=
True
if
os
.
path
.
exists
(
win32_exe
):
if
os
.
path
.
exists
(
win32_exe
):
with
open
(
win32_exe
,
'rb'
)
as
f
:
with
open
(
win32_exe
,
'rb'
)
as
f
:
win32_changed
=
f
.
re
o
d
()
!=
new_data
win32_changed
=
f
.
re
a
d
()
!=
new_data
if
win32_changed
:
if
win32_changed
:
# Only write it if it's different.
# Only write it if it's different.
open
(
win32_exe
,
'wb'
).
write
(
new_data
)
with
open
(
win32_exe
,
'wb'
)
as
f
:
f
.
write
(
new_data
)
generated
.
append
(
win32_exe
)
generated
.
append
(
win32_exe
)
if
changed
:
if
changed
:
...
...
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