]> git.decadent.org.uk Git - dak.git/commit
stop using deprecated python-apt functions
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 6 May 2012 15:16:52 +0000 (17:16 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 10 May 2012 08:27:13 +0000 (10:27 +0200)
commit9a4fb568340b14698947bfa59b309ae0c67c693a
tree858cdd97ed32877736dfd52a877951babeb5de31
parent57506ea6e65079371445778f63ed15812c3fe874
stop using deprecated python-apt functions

Renamed functions and methods:

  Find              -> find
  FindB             -> find_b
  newConfiguration  -> Configuration
  ParseCommandLine  -> parse_commandline
  ParseSrcDepends   -> parse_src_depends
  ReadConfigFileISC -> read_config_file_isc
  SubTree           -> subtree
  ValueList         -> value_list
  VersionCompare    -> version_compare

Removed functions:

  debExtractControl: replaced with utils.deb_extract_control

Other changes:

  x.has_key(y) -> y in x
  x.Find(y)    -> x[y]

The last change was only done in places where `y' is sure to exists (`x.Find'
would return None otherwise, `x[y]' would raise an exception).
62 files changed:
dak/add_user.py
dak/admin.py
dak/bts_categorize.py
dak/check_archive.py
dak/check_overrides.py
dak/clean_queues.py
dak/clean_suites.py
dak/contents.py
dak/control_overrides.py
dak/control_suite.py
dak/copy_installer.py
dak/cruft_report.py
dak/dakdb/update20.py
dak/dakdb/update21.py
dak/dakdb/update28.py
dak/dakdb/update4.py
dak/dakdb/update52.py
dak/dakdb/update7.py
dak/dakdb/update70.py
dak/dakdb/update8.py
dak/dominate.py
dak/examine_package.py
dak/external_overrides.py
dak/find_null_maintainers.py
dak/generate_filelist.py
dak/generate_index_diffs.py
dak/generate_packages_sources.py
dak/generate_packages_sources2.py
dak/generate_releases.py
dak/graph.py
dak/import_keyring.py
dak/import_known_changes.py
dak/import_ldap_fingerprints.py
dak/import_new_files.py
dak/import_users_from_passwd.py
dak/init_dirs.py
dak/ls.py
dak/make_changelog.py
dak/make_maintainers.py
dak/make_overrides.py
dak/manage_build_queues.py
dak/metadata.py
dak/new_security_install.py
dak/override.py
dak/override_disparity.py
dak/process_new.py
dak/process_policy.py
dak/process_upload.py
dak/queue_report.py
dak/rm.py
dak/show_deferred.py
dak/show_new.py
dak/stats.py
dak/transitions.py
dak/update_db.py
daklib/changes.py
daklib/changesutils.py
daklib/config.py
daklib/dbconn.py
daklib/queue.py
daklib/queue_install.py
daklib/utils.py