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
Lu Xu
slapos.core
Commits
4fda45cc
Commit
4fda45cc
authored
May 15, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Decode slave reference to unicode.
parent
3e5f56eb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
master/bt5/slapos_slap_tool/TestTemplateItem/testSlapOSSlapTool.py
...5/slapos_slap_tool/TestTemplateItem/testSlapOSSlapTool.py
+5
-5
master/bt5/slapos_slap_tool/bt/revision
master/bt5/slapos_slap_tool/bt/revision
+1
-1
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+1
-1
No files found.
master/bt5/slapos_slap_tool/TestTemplateItem/testSlapOSSlapTool.py
View file @
4fda45cc
...
...
@@ -279,7 +279,7 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>slap_software_type</string>
<unicode>%(slave_1_software_type)s</unicode>
<string>slave_reference</string>
<
string>%(slave_1_instance_guid)s</string
>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<string>slave_title</string>
<unicode>%(slave_1_title)s</unicode>
</dictionary>
...
...
@@ -785,7 +785,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>slap_software_type</string>
<unicode>%(slave_1_software_type)s</unicode>
<string>slave_reference</string>
<
string>%(slave_1_instance_guid)s</string
>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<string>slave_title</string>
<unicode>%(slave_1_title)s</unicode>
</dictionary>
...
...
@@ -989,7 +989,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>slap_software_type</string>
<unicode>%(slave_1_software_type)s</unicode>
<string>slave_reference</string>
<
string>%(slave_1_instance_guid)s</string
>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<string>slave_title</string>
<unicode>%(slave_1_title)s</unicode>
</dictionary>
...
...
@@ -1872,7 +1872,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>slap_software_type</string>
<unicode>%(slave_1_software_type)s</unicode>
<string>slave_reference</string>
<
string>%(slave_1_instance_guid)s</string
>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<string>slave_title</string>
<unicode>%(slave_1_title)s</unicode>
</dictionary>
...
...
master/bt5/slapos_slap_tool/bt/revision
View file @
4fda45cc
28
\ No newline at end of file
29
\ No newline at end of file
master/product/Vifib/Tool/SlapTool.py
View file @
4fda45cc
...
...
@@ -1324,7 +1324,7 @@ class SlapTool(BaseTool):
'slave_title'
:
slave_instance
.
getTitle
().
decode
(
"UTF-8"
),
'slap_software_type'
:
\
slave_instance
.
getSourceReference
().
decode
(
"UTF-8"
),
'slave_reference'
:
slave_instance
.
getReference
(),
'slave_reference'
:
slave_instance
.
getReference
()
.
decode
(
"UTF-8"
)
,
'xml'
:
slave_instance
.
getTextContent
(),
'connection_xml'
:
slave_instance
.
getConnectionXml
(),
})
...
...
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