~jtatum/mago/gcalctool

« back to all changes in this revision

Viewing changes to mago/cmd/discovery.py

  • Committer: Eitan Isaacson
  • Date: 2009-08-04 11:17:25 UTC
  • mfrom: (96.1.8 sprint)
  • Revision ID: eitan@ascender.com-20090804111725-mlz3hmeghktpjwvs
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        if not args_tag:
132
132
            return {}
133
133
 
134
 
        return dict([(arg.tag.encode('ascii'), arg.text)
 
134
        return dict([(arg.tag.encode('ascii'), arg.text.strip())
135
135
                     for arg in args_tag])
136
136
 
137
137
        
140
140
        """
141
141
        Return suite description as written in the xml file
142
142
        """
143
 
        return self.root.find('description').text
 
143
        return self.root.find('description').text.strip()
144
144
 
145
145
 
146
146
    def add_results(self, results):