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
Thomas Gambier
slapos.core
Commits
1b5784cf
Commit
1b5784cf
authored
Jul 24, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos console: switch default from bpython to ipython (better with Suse)
parent
19ec81a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
slapos/cli/console.py
slapos/cli/console.py
+5
-5
No files found.
slapos/cli/console.py
View file @
1b5784cf
...
@@ -40,13 +40,13 @@ class ConsoleCommand(ClientConfigCommand):
...
@@ -40,13 +40,13 @@ class ConsoleCommand(ClientConfigCommand):
shell
=
ap
.
add_mutually_exclusive_group
()
shell
=
ap
.
add_mutually_exclusive_group
()
shell
.
add_argument
(
'-
b'
,
'--b
python'
,
shell
.
add_argument
(
'-
i'
,
'--i
python'
,
action
=
'store_true'
,
action
=
'store_true'
,
help
=
'Use
B
Python shell if available (default)'
)
help
=
'Use
I
Python shell if available (default)'
)
shell
.
add_argument
(
'-
i'
,
'--i
python'
,
shell
.
add_argument
(
'-
b'
,
'--b
python'
,
action
=
'store_true'
,
action
=
'store_true'
,
help
=
'Use
I
Python shell if available'
)
help
=
'Use
B
Python shell if available'
)
shell
.
add_argument
(
'-p'
,
'--python'
,
shell
.
add_argument
(
'-p'
,
'--python'
,
action
=
'store_true'
,
action
=
'store_true'
,
...
@@ -60,7 +60,7 @@ class ConsoleCommand(ClientConfigCommand):
...
@@ -60,7 +60,7 @@ class ConsoleCommand(ClientConfigCommand):
local
=
init
(
conf
)
local
=
init
(
conf
)
if
not
any
([
args
.
python
,
args
.
ipython
,
args
.
bpython
]):
if
not
any
([
args
.
python
,
args
.
ipython
,
args
.
bpython
]):
args
.
b
python
=
True
args
.
i
python
=
True
if
args
.
ipython
:
if
args
.
ipython
:
try
:
try
:
...
...
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