Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Jean-Paul Smets
slapos
Commits
b55cdfb0
Commit
b55cdfb0
authored
Sep 10, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapconfiguration: don't encode tap (which is actually a set) to str.
Fixes
29da1c75
.
parent
26e0e7e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/recipe/slapconfiguration.py
slapos/recipe/slapconfiguration.py
+1
-1
No files found.
slapos/recipe/slapconfiguration.py
View file @
b55cdfb0
...
@@ -137,7 +137,7 @@ class Recipe(object):
...
@@ -137,7 +137,7 @@ class Recipe(object):
if
ipv6_set
:
if
ipv6_set
:
options
[
'ipv6-random'
]
=
list
(
ipv6_set
)[
0
].
encode
(
'UTF-8'
)
options
[
'ipv6-random'
]
=
list
(
ipv6_set
)[
0
].
encode
(
'UTF-8'
)
options
[
'tap'
]
=
tap_set
.
encode
(
'UTF-8'
)
options
[
'tap'
]
=
tap_set
parameter_dict
=
self
.
_expandParameterDict
(
options
,
parameter_dict
)
parameter_dict
=
self
.
_expandParameterDict
(
options
,
parameter_dict
)
match
=
self
.
OPTCRE_match
match
=
self
.
OPTCRE_match
for
key
,
value
in
parameter_dict
.
iteritems
():
for
key
,
value
in
parameter_dict
.
iteritems
():
...
...
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