Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Klaus Wölfel
slapos.core
Commits
3cdc1a4d
Commit
3cdc1a4d
authored
Nov 01, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor name to be explicit
parent
09c1e92e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
setup.py
setup.py
+1
-1
slapos/client.py
slapos/client.py
+1
-1
slapos/entry.py
slapos/entry.py
+1
-1
No files found.
setup.py
View file @
3cdc1a4d
...
@@ -50,7 +50,7 @@ setup(name=name,
...
@@ -50,7 +50,7 @@ setup(name=name,
# One entry point to control them all
# One entry point to control them all
'slapos = slapos.entry:main'
,
'slapos = slapos.entry:main'
,
# Deprecated entry points
# Deprecated entry points
'slapconsole = slapos.client:
run
'
,
'slapconsole = slapos.client:
slapconsole
'
,
'slapos-watchdog = slapos.grid.watchdog:main'
,
'slapos-watchdog = slapos.grid.watchdog:main'
,
'slapformat = slapos.format:main'
,
'slapformat = slapos.format:main'
,
'slapgrid = slapos.grid.slapgrid:run'
,
'slapgrid = slapos.grid.slapgrid:run'
,
...
...
slapos/client.py
View file @
3cdc1a4d
...
@@ -214,7 +214,7 @@ slapos-request allows you to request slapos instances.""" % sys.argv[0]
...
@@ -214,7 +214,7 @@ slapos-request allows you to request slapos instances.""" % sys.argv[0]
"couple of minutes to get connection informations"
)
"couple of minutes to get connection informations"
)
exit
(
2
)
exit
(
2
)
def
run
():
def
slapconsole
():
"""Ran when invoking slapconsole"""
"""Ran when invoking slapconsole"""
# Parse arguments
# Parse arguments
usage
=
"""usage: %s [options] CONFIGURATION_FILE
usage
=
"""usage: %s [options] CONFIGURATION_FILE
...
...
slapos/entry.py
View file @
3cdc1a4d
...
@@ -31,7 +31,7 @@ import ConfigParser
...
@@ -31,7 +31,7 @@ import ConfigParser
import
os
import
os
import
sys
import
sys
from
slapos.bang
import
main
as
bang
from
slapos.bang
import
main
as
bang
from
slapos.client
import
run
as
console
from
slapos.client
import
slapconsole
as
console
from
slapos.client
import
request
as
request
from
slapos.client
import
request
as
request
from
slapos.format
import
main
as
format
from
slapos.format
import
main
as
format
from
slapos.grid.slapgrid
import
runComputerPartition
as
instance
from
slapos.grid.slapgrid
import
runComputerPartition
as
instance
...
...
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