~stgraber/ubuntu-archive-tools/pep8-fixes

« back to all changes in this revision

Viewing changes to lputils.py

  • Committer: Colin Watson
  • Date: 2012-12-13 14:50:11 UTC
  • Revision ID: cjwatson@canonical.com-20121213145011-8xvn3h432hz4197x
make all scripts pass current stricter pep8(1) in raring

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        if options.series.name == "raring":
54
54
            options.architectures = [
55
55
                a for a in options.architectures
56
 
                  if a.architecture_tag != "armel"]
 
56
                if a.architecture_tag != "armel"]
57
57
    else:
58
58
        options.architectures = [options.series.getDistroArchSeries(
59
59
            archtag=options.architecture)]
92
92
    except IndexError:
93
93
        return newest_published
94
94
    if debian_support.version_compare(
95
 
        newest_published_ver, newest_pending_ver) > 0:
 
95
            newest_published_ver, newest_pending_ver) > 0:
96
96
        return newest_published
97
97
    else:
98
98
        return newest_pending