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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
5e4c14e8
Commit
5e4c14e8
authored
Sep 24, 2009
by
Gary Poster
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos and so on.
parent
e268199c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+6
-6
No files found.
src/zc/buildout/buildout.py
View file @
5e4c14e8
...
...
@@ -52,11 +52,11 @@ if is_jython:
import
subprocess
class
MissingOption
(
zc
.
buildout
.
UserError
,
KeyError
):
"""A required option was missing
"""A required option was missing
.
"""
class
MissingSection
(
zc
.
buildout
.
UserError
,
KeyError
):
"""A required section is missin
h
"""A required section is missin
g.
"""
def
__str__
(
self
):
...
...
@@ -145,8 +145,8 @@ class Buildout(UserDict.DictMixin):
print
'Creating %r.'
%
config_file
open
(
config_file
,
'w'
).
write
(
'[buildout]
\
n
parts =
\
n
'
)
elif
command
==
'setup'
:
# Sigh.
this model of a buildout
nstance
# with methods is breaking down :(
# Sigh.
This model of a buildout i
nstance
# with methods is breaking down
.
:(
config_file
=
None
data
[
'buildout'
][
'directory'
]
=
(
'.'
,
'COMPUTED_VALUE'
)
else
:
...
...
@@ -334,7 +334,7 @@ class Buildout(UserDict.DictMixin):
return
os
.
path
.
join
(
self
.
_buildout_dir
,
name
)
def
bootstrap
(
self
,
args
):
__doing__
=
'Bootstraping.'
__doing__
=
'Bootstrap
p
ing.'
self
.
_setup_directories
()
...
...
@@ -904,7 +904,7 @@ class Buildout(UserDict.DictMixin):
if
not
args
:
raise
zc
.
buildout
.
UserError
(
"The setup command requires the path to a setup script or
\
n
"
"directory containing a setup script, and it
'
s arguments."
"directory containing a setup script, and its arguments."
)
setup
=
args
.
pop
(
0
)
if
os
.
path
.
isdir
(
setup
):
...
...
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