mirror of https://github.com/apache/cloudstack.git
changed variable name to avoid collision in python3 (#4903)
* changed variable name to avoid collision in python3 * changed variablenames to avoid collision and allow use of python3
This commit is contained in:
parent
42c83b08f5
commit
c7db4f4223
|
|
@ -248,10 +248,10 @@ for f in sys.argv:
|
|||
|
||||
def xml_for(command):
|
||||
name = command['name']
|
||||
async = command['async'] and ' (A)' or ''
|
||||
isAsync = command['async'] and ' (A)' or ''
|
||||
dirname = command['dirname']
|
||||
return '''<xsl:if test="name=\'%(name)s\'">
|
||||
<li><a href="%(dirname)s/%(name)s.html"><xsl:value-of select="name"/>%(async)s</a></li>
|
||||
<li><a href="%(dirname)s/%(name)s.html"><xsl:value-of select="name"/>%(isAsync)s</a></li>
|
||||
</xsl:if>
|
||||
''' % locals()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue