mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-09-27 18:01:30 +02:00
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")
|
||||
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_t_name = 'age_weeks'
|
||||
age_t_name = "age_weeks"
|
||||
else:
|
||||
age_xml = ''
|
||||
age_t_name = 'age'
|
||||
age_xml = ""
|
||||
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))
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user