mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
pep8 style code corrections
This commit is contained in:
parent
fdbb6739c1
commit
828a271789
18 changed files with 69 additions and 64 deletions
|
|
@ -7,11 +7,11 @@ class wvmSecrets(wvmConnect):
|
|||
xml = """<secret ephemeral='%s' private='%s'>
|
||||
<usage type='%s'>""" % (ephemeral, private, secret_type)
|
||||
if secret_type == 'ceph':
|
||||
xml += """<name>%s</name>""" % (data)
|
||||
xml += """<name>%s</name>""" % data
|
||||
if secret_type == 'volume':
|
||||
xml += """<volume>%s</volume>""" % (data)
|
||||
xml += """<volume>%s</volume>""" % data
|
||||
if secret_type == 'iscsi':
|
||||
xml += """<target>%s</target>""" % (data)
|
||||
xml += """<target>%s</target>""" % data
|
||||
xml += """</usage>
|
||||
</secret>"""
|
||||
self.wvm.secretDefineXML(xml)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue