Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CTDAS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CTDAS
CTDAS
Commits
81b3e3cf
Commit
81b3e3cf
authored
14 years ago
by
Peters, Wouter
Browse files
Options
Downloads
Patches
Plain Diff
forgot to create optslist when no opts are passed
parent
b9b0e1c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
da/tools/initexit.py
+5
-1
5 additions, 1 deletion
da/tools/initexit.py
with
5 additions
and
1 deletion
da/tools/initexit.py
+
5
−
1
View file @
81b3e3cf
...
...
@@ -681,6 +681,11 @@ def ParseOptions():
logging
.
info
(
'
-v flag specified on command line: extra verbose output
'
)
dummy
=
logging
.
root
.
setLevel
(
logging
.
DEBUG
)
if
opts
:
optslist
=
[
item
[
0
]
for
item
in
opts
]
else
:
optslist
=
[]
# Parse arguments and return as dictionary
arguments
=
{}
...
...
@@ -697,7 +702,6 @@ def ParseOptions():
arguments
[
key
]
=
arg
if
opts
:
optslist
=
[
item
[
0
]
for
item
in
opts
]
return
optslist
,
arguments
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment