diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-15 15:05:55 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-15 15:05:55 -0400 |
commit | 30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed (patch) | |
tree | 0c2c0d40e9e893d7a28f3dfcc7d5ebc3e81185a3 /tools/bcfg2-profile-templates.py | |
parent | de4940d9f39c51d68623eba9c99cc0a56deb9428 (diff) | |
download | bcfg2-30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed.tar.gz bcfg2-30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed.tar.bz2 bcfg2-30fc9f2e1e8f5e59fa98d9e9df6263da88b9eaed.zip |
removed print statements
Diffstat (limited to 'tools/bcfg2-profile-templates.py')
-rwxr-xr-x | tools/bcfg2-profile-templates.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bcfg2-profile-templates.py b/tools/bcfg2-profile-templates.py index 1cecc0274..d60d7584a 100755 --- a/tools/bcfg2-profile-templates.py +++ b/tools/bcfg2-profile-templates.py @@ -120,9 +120,9 @@ def main(): continue if avg > 0.01 or templates: tmpltimes.append((tmpl, avg)) - print "%-50s %s" % ("Template", "Average Render Time") + print("%-50s %s" % ("Template", "Average Render Time")) for tmpl, avg in reversed(sorted(tmpltimes, key=operator.itemgetter(1))): - print "%-50s %.02f" % (tmpl, avg) + print("%-50s %.02f" % (tmpl, avg)) # TODO: complain about templates that on average were quick but # for which some clients were slow |