~ubuntu-branches/ubuntu/intrepid/hwtest/intrepid

« back to all changes in this revision

Viewing changes to hwtest/reports/xml_report.py

  • Committer: Bazaar Package Importer
  • Author(s): Marc Tardif
  • Date: 2008-04-21 14:32:16 UTC
  • Revision ID: james.westby@ubuntu.com-20080421143216-hsikgcaqn1233jvr
Tags: 0.1-0ubuntu10
Fixed xalign and yalign in exchange summary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        self._dumps_text(str(obj), parent, "bool")
73
73
 
74
74
    def dumps_int(self, obj, parent):
75
 
        self._dumps_text(str(obj), parent, "int")
 
75
        if obj >= 2**31:
 
76
            self._dumps_text(str(obj), parent, "long")
 
77
        else:
 
78
            self._dumps_text(str(obj), parent, "int")
76
79
 
77
80
    def dumps_float(self, obj, parent):
78
81
        self._dumps_text(str(obj), parent, "float")