~ubuntuone-control-tower/ubuntuone-dev-tools/trunk

« back to all changes in this revision

Viewing changes to ubuntuone/devtools/runners/__init__.py

  • Committer: Tarmac
  • Author(s): Brian Curtin
  • Date: 2012-08-21 17:51:49 UTC
  • mfrom: (79.4.1 devtools-int)
  • Revision ID: tarmac-20120821175149-7gid4gliy3mi25w9
- Move long usage to int.

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
    def opt_loop(self, option):
224
224
        """Loop tests the specified number of times."""
225
225
        try:
226
 
            self['loop'] = long(option)
 
226
            self['loop'] = int(option)
227
227
        except ValueError:
228
228
            raise UsageError('A positive integer value must be specified.')
229
229