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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos.buildout
Commits
b194c5fc
Commit
b194c5fc
authored
Oct 05, 2007
by
Baiju M
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #149352 : setup sub-command without any argument error
ref:
https://bugs.launchpad.net/bugs/149352
parent
5d8538b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+4
-0
No files found.
src/zc/buildout/buildout.py
View file @
b194c5fc
...
...
@@ -725,6 +725,10 @@ class Buildout(UserDict.DictMixin):
ep
.
load
()(
self
)
def
setup
(
self
,
args
):
if
not
args
:
raise
zc
.
buildout
.
UserError
(
"setup command expects one or more arguments.
\
n
"
)
setup
=
args
.
pop
(
0
)
if
os
.
path
.
isdir
(
setup
):
setup
=
os
.
path
.
join
(
setup
,
'setup.py'
)
...
...
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