Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
dream
Commits
d1c06eb4
Commit
d1c06eb4
authored
Dec 14, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dream_platform: do not set useless parameters
parent
0af2758e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
dream/platform/__init__.py
dream/platform/__init__.py
+4
-5
No files found.
dream/platform/__init__.py
View file @
d1c06eb4
...
...
@@ -187,11 +187,10 @@ def main(*args):
parser
=
argparse
.
ArgumentParser
(
description
=
'Launch the DREAM simulation platform.'
)
parser
.
add_argument
(
'gui_class'
,
metavar
=
'GUI_KLASS'
,
nargs
=
"?"
,
default
=
"Default"
,
help
=
'The GUI klass to launch'
)
parser
.
add_argument
(
'--port'
,
dest
=
'port'
,
default
=
5000
,
type
=
int
,
help
=
'Port number to listen to'
)
parser
.
add_argument
(
'--host'
,
dest
=
'host'
,
default
=
"localhost"
,
help
=
'Host address'
)
parser
.
add_argument
(
'--logfile'
,
dest
=
'logfile'
,
help
=
'Log to file'
)
parser
.
add_argument
(
'--port'
,
default
=
5000
,
type
=
int
,
help
=
'Port number to listen on'
)
parser
.
add_argument
(
'--host'
,
default
=
"localhost"
,
help
=
'Host address'
)
parser
.
add_argument
(
'--logfile'
,
help
=
'Log to file'
)
arguments
=
parser
.
parse_args
()
global
klass_name
klass_name
=
'dream.simulation.GUI.%s'
%
arguments
.
gui_class
...
...
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