~xdeb-team/xdeb/trunk

« back to all changes in this revision

Viewing changes to aptutils.py

  • Committer: Colin Watson
  • Date: 2015-12-30 23:11:18 UTC
  • Revision ID: cjwatson@canonical.com-20151230231118-ezb8347yzcd4k33h
Even more pyflakes/pep8 fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
def update_destdir(options):
59
59
    # We can't use this until we've stopped using apt-get to install
60
60
    # build-dependencies.
61
 
    #cache.update(sources_list='%s.destdir' % sources_list_path(options))
 
61
    # cache.update(sources_list='%s.destdir' % sources_list_path(options))
62
62
    command = ['apt-get']
63
63
    command.extend(apt_options(options))
64
64
    command.extend(
202
202
            tag_file = apt_pkg.TagFile(source_file)
203
203
            for src_stanza in tag_file:
204
204
                if ('package' not in src_stanza or
205
 
                    'version' not in src_stanza or
206
 
                    'binary' not in src_stanza):
 
205
                        'version' not in src_stanza or
 
206
                        'binary' not in src_stanza):
207
207
                    continue
208
208
                src = src_stanza['package']
209
209
                if (src not in srcrec or