Use double quotes to encapsulate string for consistency.
This commit is contained in:
parent
cc3427404e
commit
b9dd6f71be
|
@ -173,10 +173,10 @@ class BlameOutput(Outputable):
|
||||||
self.changes)) + "</stability>\n")
|
self.changes)) + "</stability>\n")
|
||||||
if self.forcemonths and self.blame.useweeks:
|
if self.forcemonths and self.blame.useweeks:
|
||||||
age_xml = ("\t\t\t\t<age_months>" + "{0:.1f}".format(float(i[1].get_skew(True)) / i[1].rows) + "</age_months>\n")
|
age_xml = ("\t\t\t\t<age_months>" + "{0:.1f}".format(float(i[1].get_skew(True)) / i[1].rows) + "</age_months>\n")
|
||||||
age_t_name = 'age_weeks'
|
age_t_name = "age_weeks"
|
||||||
else:
|
else:
|
||||||
age_xml = ''
|
age_xml = ""
|
||||||
age_t_name = 'age'
|
age_t_name = "age"
|
||||||
age_xml += (("\t\t\t\t<%s>" % age_t_name) + "{0:.1f}".format(float(i[1].get_skew()) / i[1].rows) + ("</%s>\n" % age_t_name))
|
age_xml += (("\t\t\t\t<%s>" % age_t_name) + "{0:.1f}".format(float(i[1].get_skew()) / i[1].rows) + ("</%s>\n" % age_t_name))
|
||||||
percentage_in_comments_xml = ("\t\t\t\t<percentage-in-comments>" + "{0:.2f}".format(100.0 * i[1].comments / i[1].rows) +
|
percentage_in_comments_xml = ("\t\t\t\t<percentage-in-comments>" + "{0:.2f}".format(100.0 * i[1].comments / i[1].rows) +
|
||||||
"</percentage-in-comments>\n")
|
"</percentage-in-comments>\n")
|
||||||
|
|
Loading…
Reference in New Issue