~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to scripts/submission_prober

  • Committer: Marc Tardif
  • Date: 2012-03-21 22:32:04 UTC
  • Revision ID: marc.tardif@canonical.com-20120321223204-8g7mvzzwmh8ifbrt
Added support for getting systems from a person (LP #899361)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
import posixpath
7
7
import pytz
8
 
import re
9
8
import simplejson
10
9
import transaction
11
10
 
187
186
        except IOError:
188
187
            pass
189
188
 
190
 
        # Some raw data might contain a sequence of escape codes, but
191
 
        # only strip more than might possibly be encoded in valid UTF-8
192
 
        raw_data = re.sub(r"\xFF{8,}", "", raw_data)
193
 
 
194
189
        protocol = CheckboxProtocol(StringIO(raw_data))
195
190
 
196
191
        try: