Merge lp:~jelmer/brz/drop-future into lp:brz
- drop-future
- Merge into trunk
Proposed by
Jelmer Vernooij
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | no longer in the source branch. |
Merge reported by: | The Breezy Bot |
Merged at revision: | not available |
Proposed branch: | lp:~jelmer/brz/drop-future |
Merge into: | lp:brz |
Diff against target: |
5748 lines (+1/-902) 441 files modified
breezy/__init__.py (+1/-3) breezy/_annotator_py.py (+0/-2) breezy/_annotator_pyx.pyx (+0/-2) breezy/_bencode_pyx.pyx (+0/-2) breezy/_chunks_to_lines_py.py (+0/-2) breezy/_chunks_to_lines_pyx.pyx (+0/-2) breezy/_known_graph_py.py (+0/-2) breezy/_known_graph_pyx.pyx (+0/-2) breezy/_readdir_py.py (+0/-2) breezy/_readdir_pyx.pyx (+0/-2) breezy/_rio_py.py (+0/-2) breezy/_rio_pyx.pyx (+0/-2) breezy/_simple_set_pyx.pyx (+0/-2) breezy/_static_tuple_py.py (+0/-2) breezy/_termcolor.py (+0/-2) breezy/_walkdirs_win32.pyx (+0/-2) breezy/add.py (+0/-2) breezy/annotate.py (+0/-2) breezy/archive/__init__.py (+0/-2) breezy/archive/tar.py (+0/-2) breezy/archive/zip.py (+0/-2) breezy/atomicfile.py (+0/-2) breezy/bedding.py (+0/-2) breezy/bencode.py (+0/-2) breezy/bisect.py (+0/-2) breezy/bisect_multi.py (+0/-2) breezy/branch.py (+0/-2) breezy/branchbuilder.py (+0/-2) breezy/breakin.py (+0/-2) breezy/bugtracker.py (+0/-2) breezy/builtins.py (+0/-2) breezy/bzr/__init__.py (+0/-2) breezy/bzr/_btree_serializer_py.py (+0/-2) breezy/bzr/_btree_serializer_pyx.pyx (+0/-2) breezy/bzr/_chk_map_py.py (+0/-2) breezy/bzr/_chk_map_pyx.pyx (+0/-2) breezy/bzr/_dirstate_helpers_py.py (+0/-2) breezy/bzr/_dirstate_helpers_pyx.pyx (+0/-2) breezy/bzr/_groupcompress_py.py (+0/-2) breezy/bzr/_groupcompress_pyx.pyx (+0/-2) breezy/bzr/_knit_load_data_py.py (+0/-2) breezy/bzr/_knit_load_data_pyx.pyx (+0/-2) breezy/bzr/_str_helpers.pxd (+0/-2) breezy/bzr/branch.py (+0/-2) breezy/bzr/btree_index.py (+0/-2) breezy/bzr/bundle/__init__.py (+0/-2) breezy/bzr/bundle/apply_bundle.py (+0/-2) breezy/bzr/bundle/bundle_data.py (+0/-2) breezy/bzr/bundle/commands.py (+0/-2) breezy/bzr/bundle/serializer/__init__.py (+0/-2) breezy/bzr/bundle/serializer/v08.py (+0/-2) breezy/bzr/bundle/serializer/v09.py (+0/-2) breezy/bzr/bundle/serializer/v4.py (+0/-2) breezy/bzr/bzrdir.py (+0/-2) breezy/bzr/check.py (+0/-2) breezy/bzr/chk_map.py (+0/-2) breezy/bzr/chk_serializer.py (+0/-2) breezy/bzr/debug_commands.py (+0/-2) breezy/bzr/dirstate.py (+0/-2) breezy/bzr/fetch.py (+0/-2) breezy/bzr/fullhistory.py (+0/-2) breezy/bzr/generate_ids.py (+0/-2) breezy/bzr/groupcompress.py (+0/-2) breezy/bzr/groupcompress_repo.py (+0/-2) breezy/bzr/index.py (+0/-2) breezy/bzr/inventory.py (+0/-2) breezy/bzr/inventory_delta.py (+0/-2) breezy/bzr/inventorytree.py (+0/-2) breezy/bzr/knit.py (+0/-2) breezy/bzr/knitpack_repo.py (+0/-2) breezy/bzr/knitrepo.py (+0/-2) breezy/bzr/pack.py (+0/-2) breezy/bzr/pack_repo.py (+0/-2) breezy/bzr/reconcile.py (+0/-2) breezy/bzr/remote.py (+0/-2) breezy/bzr/repository.py (+0/-2) breezy/bzr/serializer.py (+0/-2) breezy/bzr/smart/__init__.py (+0/-2) breezy/bzr/smart/branch.py (+0/-2) breezy/bzr/smart/bzrdir.py (+0/-2) breezy/bzr/smart/client.py (+0/-2) breezy/bzr/smart/medium.py (+0/-2) breezy/bzr/smart/message.py (+0/-2) breezy/bzr/smart/packrepository.py (+0/-2) breezy/bzr/smart/ping.py (+0/-2) breezy/bzr/smart/protocol.py (+0/-2) breezy/bzr/smart/repository.py (+0/-2) breezy/bzr/smart/request.py (+0/-2) breezy/bzr/smart/server.py (+0/-2) breezy/bzr/smart/signals.py (+0/-2) breezy/bzr/smart/vfs.py (+0/-2) breezy/bzr/testament.py (+0/-2) breezy/bzr/textinv.py (+0/-2) breezy/bzr/versionedfile.py (+0/-2) breezy/bzr/vf_repository.py (+0/-2) breezy/bzr/vf_search.py (+0/-2) breezy/bzr/weave.py (+0/-2) breezy/bzr/weavefile.py (+0/-2) breezy/bzr/workingtree.py (+0/-2) breezy/bzr/workingtree_3.py (+0/-2) breezy/bzr/workingtree_4.py (+0/-2) breezy/bzr/xml5.py (+0/-2) breezy/bzr/xml6.py (+0/-2) breezy/bzr/xml7.py (+0/-2) breezy/bzr/xml8.py (+0/-2) breezy/bzr/xml_serializer.py (+0/-2) breezy/bzr_distutils.py (+0/-2) breezy/cache_utf8.py (+0/-2) breezy/cethread.py (+0/-2) breezy/check.py (+0/-2) breezy/chunk_writer.py (+0/-2) breezy/clean_tree.py (+0/-2) breezy/cmd_test_script.py (+0/-2) breezy/cmd_version_info.py (+0/-2) breezy/cmdline.py (+0/-2) breezy/colordiff.py (+0/-2) breezy/commands.py (+0/-2) breezy/commit.py (+0/-2) breezy/commit_signature_commands.py (+0/-2) breezy/config.py (+0/-1) breezy/conflicts.py (+0/-2) breezy/controldir.py (+0/-2) breezy/counted_lock.py (+0/-2) breezy/crash.py (+0/-2) breezy/debug.py (+0/-2) breezy/decorators.py (+0/-2) breezy/delta.py (+0/-2) breezy/diff.py (+0/-2) breezy/directory_service.py (+0/-2) breezy/doc/__init__.py (+0/-2) breezy/doc/api/__init__.py (+0/-2) breezy/doc_generate/__init__.py (+0/-2) breezy/doc_generate/autodoc_bash_completion.py (+0/-2) breezy/doc_generate/autodoc_man.py (+0/-2) breezy/doc_generate/autodoc_rstx.py (+0/-2) breezy/doc_generate/conf.py (+0/-2) breezy/email_message.py (+0/-2) breezy/errors.py (+0/-2) breezy/estimate_compressed_size.py (+0/-2) breezy/export.py (+0/-2) breezy/export_pot.py (+0/-2) breezy/externalcommand.py (+0/-2) breezy/fetch_ghosts.py (+0/-2) breezy/fifo_cache.py (+0/-2) breezy/filter_tree.py (+0/-2) breezy/filters/__init__.py (+0/-1) breezy/filters/eol.py (+0/-3) breezy/foreign.py (+0/-3) breezy/git/__init__.py (+0/-2) breezy/git/annotate.py (+0/-2) breezy/git/branch.py (+0/-1) breezy/git/cache.py (+0/-2) breezy/git/commands.py (+0/-2) breezy/git/commit.py (+0/-2) breezy/git/config.py (+0/-2) breezy/git/dir.py (+0/-2) breezy/git/directory.py (+0/-2) breezy/git/errors.py (+0/-3) breezy/git/fetch.py (+0/-2) breezy/git/filegraph.py (+0/-2) breezy/git/git_remote_helper.py (+0/-2) breezy/git/help.py (+0/-2) breezy/git/hg.py (+0/-2) breezy/git/interrepo.py (+0/-2) breezy/git/mapping.py (+0/-2) breezy/git/memorytree.py (+0/-2) breezy/git/object_store.py (+0/-2) breezy/git/pristine_tar.py (+0/-2) breezy/git/push.py (+0/-2) breezy/git/refs.py (+0/-2) breezy/git/remote.py (+0/-2) breezy/git/repository.py (+0/-2) breezy/git/revspec.py (+0/-2) breezy/git/roundtrip.py (+0/-2) breezy/git/send.py (+0/-2) breezy/git/server.py (+0/-2) breezy/git/tests/__init__.py (+0/-2) breezy/git/tests/test_blackbox.py (+0/-2) breezy/git/tests/test_branch.py (+0/-2) breezy/git/tests/test_builder.py (+0/-2) breezy/git/tests/test_cache.py (+0/-2) breezy/git/tests/test_dir.py (+0/-2) breezy/git/tests/test_fetch.py (+0/-2) breezy/git/tests/test_git_remote_helper.py (+0/-2) breezy/git/tests/test_mapping.py (+0/-2) breezy/git/tests/test_object_store.py (+0/-2) breezy/git/tests/test_pristine_tar.py (+0/-2) breezy/git/tests/test_push.py (+0/-2) breezy/git/tests/test_refs.py (+0/-2) breezy/git/tests/test_remote.py (+0/-2) breezy/git/tests/test_repository.py (+0/-2) breezy/git/tests/test_revspec.py (+0/-2) breezy/git/tests/test_roundtrip.py (+0/-2) breezy/git/tests/test_server.py (+0/-2) breezy/git/tests/test_transportgit.py (+0/-2) breezy/git/tests/test_unpeel_map.py (+0/-2) breezy/git/tests/test_urls.py (+0/-2) breezy/git/tests/test_workingtree.py (+0/-2) breezy/git/transportgit.py (+0/-2) breezy/git/tree.py (+0/-2) breezy/git/unpeel_map.py (+0/-1) breezy/git/urls.py (+0/-1) breezy/git/workingtree.py (+0/-2) breezy/globbing.py (+0/-2) breezy/gpg.py (+0/-2) breezy/graph.py (+0/-2) breezy/grep.py (+0/-2) breezy/hashcache.py (+0/-2) breezy/help.py (+0/-2) breezy/help_topics/__init__.py (+0/-2) breezy/hooks.py (+0/-2) breezy/i18n.py (+0/-2) breezy/identitymap.py (+0/-2) breezy/ignores.py (+0/-2) breezy/info.py (+0/-2) breezy/inter.py (+0/-2) breezy/iterablefile.py (+0/-2) breezy/lazy_import.py (+0/-2) breezy/lazy_regex.py (+0/-2) breezy/library_state.py (+0/-2) breezy/location.py (+0/-2) breezy/lock.py (+0/-2) breezy/lockable_files.py (+0/-2) breezy/lockdir.py (+0/-2) breezy/log.py (+0/-2) breezy/lru_cache.py (+0/-2) breezy/lsprof.py (+0/-2) breezy/mail_client.py (+0/-2) breezy/memorytree.py (+0/-2) breezy/merge.py (+0/-2) breezy/merge3.py (+0/-2) breezy/merge_directive.py (+0/-2) breezy/mergeable.py (+0/-2) breezy/mergetools.py (+0/-2) breezy/missing.py (+0/-2) breezy/msgeditor.py (+0/-2) breezy/multiparent.py (+0/-2) breezy/multiwalker.py (+0/-2) breezy/mutabletree.py (+0/-2) breezy/option.py (+0/-2) breezy/osutils.py (+0/-2) breezy/patch.py (+0/-2) breezy/patches.py (+0/-2) breezy/plugin.py (+0/-2) breezy/plugins/__init__.py (+0/-2) breezy/plugins/bash_completion/__init__.py (+0/-2) breezy/plugins/bash_completion/bashcomp.py (+0/-2) breezy/plugins/changelog_merge/__init__.py (+0/-2) breezy/plugins/changelog_merge/changelog_merge.py (+0/-2) breezy/plugins/commitfromnews/__init__.py (+0/-2) breezy/plugins/commitfromnews/committemplate.py (+0/-2) breezy/plugins/commitfromnews/tests/__init__.py (+0/-2) breezy/plugins/commitfromnews/tests/test_committemplate.py (+0/-2) breezy/plugins/commitfromnews/tests/test_msgeditor.py (+0/-2) breezy/plugins/cvs/__init__.py (+0/-2) breezy/plugins/darcs/__init__.py (+0/-2) breezy/plugins/email/__init__.py (+0/-2) breezy/plugins/email/emailer.py (+0/-2) breezy/plugins/fastimport/__init__.py (+0/-2) breezy/plugins/fastimport/branch_mapper.py (+0/-2) breezy/plugins/fastimport/branch_updater.py (+0/-2) breezy/plugins/fastimport/bzr_commit_handler.py (+0/-2) breezy/plugins/fastimport/cache_manager.py (+0/-2) breezy/plugins/fastimport/cmds.py (+0/-2) breezy/plugins/fastimport/exporter.py (+0/-2) breezy/plugins/fastimport/helpers.py (+0/-2) breezy/plugins/fastimport/idmapfile.py (+0/-2) breezy/plugins/fastimport/marks_file.py (+0/-2) breezy/plugins/fastimport/processors/__init__.py (+0/-2) breezy/plugins/fastimport/processors/generic_processor.py (+0/-2) breezy/plugins/fastimport/revision_store.py (+0/-2) breezy/plugins/fastimport/tests/__init__.py (+0/-2) breezy/plugins/fastimport/tests/test_branch_mapper.py (+0/-2) breezy/plugins/fastimport/tests/test_commands.py (+0/-2) breezy/plugins/fastimport/tests/test_exporter.py (+0/-2) breezy/plugins/fastimport/tests/test_generic_processor.py (+0/-2) breezy/plugins/fastimport/tests/test_head_tracking.py (+0/-2) breezy/plugins/fastimport/tests/test_revision_store.py (+0/-2) breezy/plugins/fastimport/user_mapper.py (+0/-2) breezy/plugins/flake8/__init__.py (+0/-2) breezy/plugins/fossil/__init__.py (+0/-2) breezy/plugins/hg/__init__.py (+0/-2) breezy/plugins/launchpad/__init__.py (+0/-2) breezy/plugins/launchpad/account.py (+0/-2) breezy/plugins/launchpad/cmds.py (+0/-2) breezy/plugins/launchpad/lp_api.py (+0/-2) breezy/plugins/launchpad/lp_directory.py (+0/-2) breezy/plugins/launchpad/lp_propose.py (+0/-2) breezy/plugins/launchpad/lp_registration.py (+0/-2) breezy/plugins/launchpad/uris.py (+0/-2) breezy/plugins/mtn/__init__.py (+0/-2) breezy/plugins/netrc_credential_store/__init__.py (+0/-2) breezy/plugins/news_merge/__init__.py (+0/-2) breezy/plugins/news_merge/news_merge.py (+0/-3) breezy/plugins/news_merge/parser.py (+0/-3) breezy/plugins/po_merge/__init__.py (+0/-2) breezy/plugins/po_merge/po_merge.py (+0/-2) breezy/plugins/propose/__init__.py (+0/-2) breezy/plugins/propose/cmds.py (+0/-2) breezy/plugins/propose/github.py (+0/-2) breezy/plugins/propose/gitlabs.py (+0/-2) breezy/plugins/propose/launchpad.py (+0/-2) breezy/plugins/quilt/__init__.py (+0/-2) breezy/plugins/quilt/merge.py (+0/-2) breezy/plugins/quilt/quilt.py (+0/-2) breezy/plugins/quilt/tests/__init__.py (+0/-2) breezy/plugins/quilt/tests/test_merge.py (+0/-2) breezy/plugins/quilt/tests/test_wrapper.py (+0/-2) breezy/plugins/quilt/wrapper.py (+0/-2) breezy/plugins/repodebug/__init__.py (+0/-2) breezy/plugins/repodebug/check_chk.py (+0/-2) breezy/plugins/repodebug/chk_used_by.py (+0/-2) breezy/plugins/repodebug/fetch_all_records.py (+0/-2) breezy/plugins/repodebug/file_refs.py (+0/-2) breezy/plugins/repodebug/missing_keys_for_stacking_fixer.py (+0/-2) breezy/plugins/repodebug/repo_has_key.py (+0/-2) breezy/plugins/repodebug/repo_keys.py (+0/-2) breezy/plugins/rewrite/__init__.py (+0/-2) breezy/plugins/rewrite/commands.py (+0/-2) breezy/plugins/rewrite/maptree.py (+0/-2) breezy/plugins/rewrite/pseudonyms.py (+0/-2) breezy/plugins/rewrite/rebase.py (+0/-2) breezy/plugins/rewrite/upgrade.py (+0/-2) breezy/plugins/stats/__init__.py (+0/-2) breezy/plugins/stats/classify.py (+0/-2) breezy/plugins/stats/cmds.py (+0/-2) breezy/plugins/stats/test_blackbox.py (+0/-2) breezy/plugins/stats/test_classify.py (+0/-2) breezy/plugins/stats/test_stats.py (+0/-2) breezy/plugins/svn/__init__.py (+0/-2) breezy/plugins/upload/__init__.py (+0/-2) breezy/plugins/upload/cmds.py (+0/-2) breezy/plugins/weave_fmt/__init__.py (+0/-2) breezy/plugins/weave_fmt/branch.py (+0/-2) breezy/plugins/weave_fmt/bzrdir.py (+0/-2) breezy/plugins/weave_fmt/repository.py (+0/-2) breezy/plugins/weave_fmt/store/__init__.py (+0/-2) breezy/plugins/weave_fmt/store/text.py (+0/-2) breezy/plugins/weave_fmt/store/versioned.py (+0/-2) breezy/plugins/weave_fmt/test_bzrdir.py (+0/-2) breezy/plugins/weave_fmt/test_repository.py (+0/-2) breezy/plugins/weave_fmt/test_workingtree.py (+0/-2) breezy/plugins/weave_fmt/workingtree.py (+0/-2) breezy/plugins/weave_fmt/xml4.py (+0/-2) breezy/plugins/zsh_completion/__init__.py (+0/-2) breezy/plugins/zsh_completion/zshcomp.py (+0/-2) breezy/progress.py (+0/-2) breezy/propose.py (+0/-2) breezy/push.py (+0/-2) breezy/pyutils.py (+0/-2) breezy/reconcile.py (+0/-2) breezy/reconfigure.py (+0/-2) breezy/recordcounter.py (+0/-2) breezy/registry.py (+0/-2) breezy/rename_map.py (+0/-2) breezy/repository.py (+0/-2) breezy/revision.py (+0/-2) breezy/revisionspec.py (+0/-2) breezy/revisiontree.py (+0/-2) breezy/rio.py (+0/-2) breezy/rules.py (+0/-2) breezy/send.py (+0/-2) breezy/shelf.py (+0/-2) breezy/shelf_ui.py (+0/-2) breezy/shellcomplete.py (+0/-2) breezy/smtp_connection.py (+0/-2) breezy/static_tuple.py (+0/-2) breezy/status.py (+0/-2) breezy/strace.py (+0/-2) breezy/switch.py (+0/-2) breezy/symbol_versioning.py (+0/-2) breezy/tag.py (+0/-2) breezy/terminal.py (+0/-2) breezy/tests/__init__.py (+0/-2) breezy/tests/blackbox/test_bisect.py (+0/-2) breezy/tests/blackbox/test_log.py (+0/-2) breezy/tests/features.py (+0/-2) breezy/tests/test__rio.py (+0/-2) breezy/tests/test_bisect.py (+0/-2) breezy/tests/test_fetch_ghosts.py (+0/-2) breezy/tests/test_grep.py (+0/-2) breezy/tests/test_osutils.py (+0/-2) breezy/tests/test_source.py (+0/-20) breezy/tests/test_views.py (+0/-2) breezy/tests/ui_testing.py (+0/-2) breezy/textfile.py (+0/-2) breezy/textmerge.py (+0/-2) breezy/timestamp.py (+0/-2) breezy/trace.py (+0/-2) breezy/transactions.py (+0/-2) breezy/transform.py (+0/-2) breezy/transport/__init__.py (+0/-2) breezy/transport/brokenrename.py (+0/-2) breezy/transport/chroot.py (+0/-2) breezy/transport/decorator.py (+0/-2) breezy/transport/fakenfs.py (+0/-2) breezy/transport/fakevfat.py (+0/-2) breezy/transport/gio_transport.py (+0/-2) breezy/transport/http/__init__.py (+0/-2) breezy/transport/http/ca_bundle.py (+0/-2) breezy/transport/http/response.py (+0/-2) breezy/transport/http/wsgi.py (+0/-2) breezy/transport/local.py (+0/-2) breezy/transport/log.py (+0/-2) breezy/transport/memory.py (+0/-2) breezy/transport/nosmart.py (+0/-2) breezy/transport/pathfilter.py (+0/-2) breezy/transport/readonly.py (+0/-2) breezy/transport/remote.py (+0/-2) breezy/transport/sftp.py (+0/-2) breezy/transport/ssh.py (+0/-2) breezy/transport/trace.py (+0/-2) breezy/transport/unlistable.py (+0/-2) breezy/tree.py (+0/-2) breezy/treebuilder.py (+0/-2) breezy/tsort.py (+0/-2) breezy/tuned_gzip.py (+0/-2) breezy/ui/__init__.py (+0/-2) breezy/ui/text.py (+0/-2) breezy/uncommit.py (+0/-2) breezy/upgrade.py (+0/-2) breezy/upstream_import.py (+0/-2) breezy/url_policy_open.py (+0/-2) breezy/urlutils.py (+0/-2) breezy/utextwrap.py (+0/-2) breezy/util/__init__.py (+0/-1) breezy/util/_bencode_py.py (+0/-2) breezy/util/simplemapi.py (+0/-2) breezy/version.py (+0/-2) breezy/version_info_formats/__init__.py (+0/-2) breezy/version_info_formats/format_custom.py (+0/-2) breezy/version_info_formats/format_python.py (+0/-2) breezy/version_info_formats/format_rio.py (+0/-2) breezy/views.py (+0/-2) breezy/win32utils.py (+0/-2) breezy/workingtree.py (+0/-2) brz (+0/-2) profile_imports.py (+0/-4) tools/brzflakes.py (+0/-2) tools/capture_tree.py (+0/-2) tools/prepare_for_latex.py (+0/-2) |
To merge this branch: | bzr merge lp:~jelmer/brz/drop-future |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | Approve | ||
Review via email: mp+379372@code.launchpad.net |
This proposal supersedes a proposal from 2020-02-18.
Commit message
Drop unnecessary imports from __future__.
Description of the change
Drop the use of 'from __future__', since we don't need it anymore now that we've dropped support for Python 2.7.
To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) : Posted in a previous version of this proposal | # |
review:
Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote : Posted in a previous version of this proposal | # |
Revision history for this message
Jelmer Vernooij (jelmer) : Posted in a previous version of this proposal | # |
review:
Approve
Revision history for this message
The Breezy Bot (the-breezy-bot) wrote : | # |
Voting criteria not met
https:/
Revision history for this message
Jelmer Vernooij (jelmer) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'breezy/__init__.py' |
2 | --- breezy/__init__.py 2020-02-14 03:16:54 +0000 |
3 | +++ breezy/__init__.py 2020-02-18 05:49:35 +0000 |
4 | @@ -29,8 +29,6 @@ |
5 | We hope you enjoy this library. |
6 | """ |
7 | |
8 | -from __future__ import absolute_import |
9 | - |
10 | import time |
11 | |
12 | # Keep track of when breezy was first imported, so that we can give rough |
13 | @@ -43,7 +41,7 @@ |
14 | |
15 | __copyright__ = ( |
16 | "Copyright 2005-2012 Canonical Ltd.\n" |
17 | - "Copyright 2017-2019 Breezy developers" |
18 | + "Copyright 2017-2020 Breezy developers" |
19 | ) |
20 | |
21 | # same format as sys.version_info: "A tuple containing the five components of |
22 | |
23 | === modified file 'breezy/_annotator_py.py' |
24 | --- breezy/_annotator_py.py 2020-02-07 02:14:30 +0000 |
25 | +++ breezy/_annotator_py.py 2020-02-18 05:49:35 +0000 |
26 | @@ -16,8 +16,6 @@ |
27 | |
28 | """Functionality for doing annotations in the 'optimal' way""" |
29 | |
30 | -from __future__ import absolute_import |
31 | - |
32 | from .lazy_import import lazy_import |
33 | lazy_import(globals(), """ |
34 | |
35 | |
36 | === modified file 'breezy/_annotator_pyx.pyx' |
37 | --- breezy/_annotator_pyx.pyx 2018-07-01 22:44:13 +0000 |
38 | +++ breezy/_annotator_pyx.pyx 2020-02-18 05:49:35 +0000 |
39 | @@ -16,8 +16,6 @@ |
40 | |
41 | """Functionality for doing annotations in the 'optimal' way""" |
42 | |
43 | -from __future__ import absolute_import |
44 | - |
45 | |
46 | cdef extern from "python-compat.h": |
47 | pass |
48 | |
49 | === modified file 'breezy/_bencode_pyx.pyx' |
50 | --- breezy/_bencode_pyx.pyx 2018-08-21 19:28:52 +0000 |
51 | +++ breezy/_bencode_pyx.pyx 2020-02-18 05:49:35 +0000 |
52 | @@ -16,8 +16,6 @@ |
53 | |
54 | """Pyrex implementation for bencode coder/decoder""" |
55 | |
56 | -from __future__ import absolute_import |
57 | - |
58 | from cpython.bool cimport ( |
59 | PyBool_Check, |
60 | ) |
61 | |
62 | === modified file 'breezy/_chunks_to_lines_py.py' |
63 | --- breezy/_chunks_to_lines_py.py 2017-06-11 01:12:29 +0000 |
64 | +++ breezy/_chunks_to_lines_py.py 2020-02-18 05:49:35 +0000 |
65 | @@ -16,8 +16,6 @@ |
66 | |
67 | """The python implementation of chunks_to_lines""" |
68 | |
69 | -from __future__ import absolute_import |
70 | - |
71 | |
72 | def chunks_to_lines(chunks): |
73 | """Re-split chunks into simple lines. |
74 | |
75 | === modified file 'breezy/_chunks_to_lines_pyx.pyx' |
76 | --- breezy/_chunks_to_lines_pyx.pyx 2018-07-01 20:02:53 +0000 |
77 | +++ breezy/_chunks_to_lines_pyx.pyx 2020-02-18 05:49:35 +0000 |
78 | @@ -17,8 +17,6 @@ |
79 | |
80 | """Pyrex extensions for converting chunks to lines.""" |
81 | |
82 | -from __future__ import absolute_import |
83 | - |
84 | |
85 | cdef extern from "python-compat.h": |
86 | pass |
87 | |
88 | === modified file 'breezy/_known_graph_py.py' |
89 | --- breezy/_known_graph_py.py 2020-02-07 02:14:30 +0000 |
90 | +++ breezy/_known_graph_py.py 2020-02-18 05:49:35 +0000 |
91 | @@ -17,8 +17,6 @@ |
92 | """Implementation of Graph algorithms when we have already loaded everything. |
93 | """ |
94 | |
95 | -from __future__ import absolute_import |
96 | - |
97 | try: |
98 | from collections.abc import deque |
99 | except ImportError: # python < 3.7 |
100 | |
101 | === modified file 'breezy/_known_graph_pyx.pyx' |
102 | --- breezy/_known_graph_pyx.pyx 2019-01-27 18:53:46 +0000 |
103 | +++ breezy/_known_graph_pyx.pyx 2020-02-18 05:49:35 +0000 |
104 | @@ -17,8 +17,6 @@ |
105 | """Implementation of Graph algorithms when we have already loaded everything. |
106 | """ |
107 | |
108 | -from __future__ import absolute_import |
109 | - |
110 | cdef extern from "python-compat.h": |
111 | pass |
112 | |
113 | |
114 | === modified file 'breezy/_readdir_py.py' |
115 | --- breezy/_readdir_py.py 2017-11-12 13:53:51 +0000 |
116 | +++ breezy/_readdir_py.py 2020-02-18 05:49:35 +0000 |
117 | @@ -16,8 +16,6 @@ |
118 | |
119 | """Python implementation of readdir interface.""" |
120 | |
121 | -from __future__ import absolute_import |
122 | - |
123 | import stat |
124 | |
125 | |
126 | |
127 | === modified file 'breezy/_readdir_pyx.pyx' |
128 | --- breezy/_readdir_pyx.pyx 2018-08-18 22:45:58 +0000 |
129 | +++ breezy/_readdir_pyx.pyx 2020-02-18 05:49:35 +0000 |
130 | @@ -16,8 +16,6 @@ |
131 | |
132 | """Wrapper for readdir which returns files ordered by inode.""" |
133 | |
134 | -from __future__ import absolute_import |
135 | - |
136 | |
137 | import os |
138 | import sys |
139 | |
140 | === modified file 'breezy/_rio_py.py' |
141 | --- breezy/_rio_py.py 2018-11-11 04:08:32 +0000 |
142 | +++ breezy/_rio_py.py 2020-02-18 05:49:35 +0000 |
143 | @@ -16,8 +16,6 @@ |
144 | |
145 | """Python implementation of _read_stanza_*.""" |
146 | |
147 | -from __future__ import absolute_import |
148 | - |
149 | import re |
150 | |
151 | from .rio import ( |
152 | |
153 | === modified file 'breezy/_rio_pyx.pyx' |
154 | --- breezy/_rio_pyx.pyx 2018-08-18 19:43:40 +0000 |
155 | +++ breezy/_rio_pyx.pyx 2020-02-18 05:49:35 +0000 |
156 | @@ -16,8 +16,6 @@ |
157 | |
158 | """Pyrex implementation of _read_stanza_*.""" |
159 | |
160 | -from __future__ import absolute_import |
161 | - |
162 | |
163 | cdef extern from "python-compat.h": |
164 | pass |
165 | |
166 | === modified file 'breezy/_simple_set_pyx.pyx' |
167 | --- breezy/_simple_set_pyx.pyx 2017-06-21 22:25:57 +0000 |
168 | +++ breezy/_simple_set_pyx.pyx 2020-02-18 05:49:35 +0000 |
169 | @@ -16,8 +16,6 @@ |
170 | |
171 | """Definition of a class that is similar to Set with some small changes.""" |
172 | |
173 | -from __future__ import absolute_import |
174 | - |
175 | from cpython.object cimport ( |
176 | hashfunc, |
177 | Py_EQ, |
178 | |
179 | === modified file 'breezy/_static_tuple_py.py' |
180 | --- breezy/_static_tuple_py.py 2020-02-07 02:14:30 +0000 |
181 | +++ breezy/_static_tuple_py.py 2020-02-18 05:49:35 +0000 |
182 | @@ -20,8 +20,6 @@ |
183 | strings. |
184 | """ |
185 | |
186 | -from __future__ import absolute_import |
187 | - |
188 | import sys |
189 | |
190 | |
191 | |
192 | === modified file 'breezy/_termcolor.py' |
193 | --- breezy/_termcolor.py 2018-11-11 04:08:32 +0000 |
194 | +++ breezy/_termcolor.py 2020-02-18 05:49:35 +0000 |
195 | @@ -14,8 +14,6 @@ |
196 | # along with this program; if not, write to the Free Software |
197 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
198 | |
199 | -from __future__ import absolute_import |
200 | - |
201 | import os |
202 | import sys |
203 | |
204 | |
205 | === modified file 'breezy/_walkdirs_win32.pyx' |
206 | --- breezy/_walkdirs_win32.pyx 2017-06-10 00:09:13 +0000 |
207 | +++ breezy/_walkdirs_win32.pyx 2020-02-18 05:49:35 +0000 |
208 | @@ -16,8 +16,6 @@ |
209 | |
210 | """Helper functions for Walkdirs on win32.""" |
211 | |
212 | -from __future__ import absolute_import |
213 | - |
214 | |
215 | cdef extern from "python-compat.h": |
216 | struct _HANDLE: |
217 | |
218 | === modified file 'breezy/add.py' |
219 | --- breezy/add.py 2018-11-10 17:52:47 +0000 |
220 | +++ breezy/add.py 2020-02-18 05:49:35 +0000 |
221 | @@ -16,8 +16,6 @@ |
222 | |
223 | """Helper functions for adding files to working trees.""" |
224 | |
225 | -from __future__ import absolute_import |
226 | - |
227 | import sys |
228 | import os |
229 | |
230 | |
231 | === modified file 'breezy/annotate.py' |
232 | --- breezy/annotate.py 2020-01-11 17:41:33 +0000 |
233 | +++ breezy/annotate.py 2020-02-18 05:49:35 +0000 |
234 | @@ -16,8 +16,6 @@ |
235 | |
236 | """File annotate based on weave storage""" |
237 | |
238 | -from __future__ import absolute_import |
239 | - |
240 | # TODO: Choice of more or less verbose formats: |
241 | # |
242 | # interposed: show more details between blocks of modified lines |
243 | |
244 | === modified file 'breezy/archive/__init__.py' |
245 | --- breezy/archive/__init__.py 2018-11-11 04:08:32 +0000 |
246 | +++ breezy/archive/__init__.py 2020-02-18 05:49:35 +0000 |
247 | @@ -17,8 +17,6 @@ |
248 | """Export trees to tarballs, zipfiles, etc. |
249 | """ |
250 | |
251 | -from __future__ import absolute_import |
252 | - |
253 | import os |
254 | import time |
255 | import warnings |
256 | |
257 | === modified file 'breezy/archive/tar.py' |
258 | --- breezy/archive/tar.py 2020-02-07 02:14:30 +0000 |
259 | +++ breezy/archive/tar.py 2020-02-18 05:49:35 +0000 |
260 | @@ -16,8 +16,6 @@ |
261 | |
262 | """Export a tree to a tarball.""" |
263 | |
264 | -from __future__ import absolute_import |
265 | - |
266 | from contextlib import closing |
267 | from io import BytesIO |
268 | import os |
269 | |
270 | === modified file 'breezy/archive/zip.py' |
271 | --- breezy/archive/zip.py 2018-11-16 18:33:17 +0000 |
272 | +++ breezy/archive/zip.py 2020-02-18 05:49:35 +0000 |
273 | @@ -17,8 +17,6 @@ |
274 | """Export a Tree to a zip file. |
275 | """ |
276 | |
277 | -from __future__ import absolute_import |
278 | - |
279 | from contextlib import closing |
280 | import os |
281 | import stat |
282 | |
283 | === modified file 'breezy/atomicfile.py' |
284 | --- breezy/atomicfile.py 2018-11-10 17:52:47 +0000 |
285 | +++ breezy/atomicfile.py 2020-02-18 05:49:35 +0000 |
286 | @@ -14,8 +14,6 @@ |
287 | # along with this program; if not, write to the Free Software |
288 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
289 | |
290 | -from __future__ import absolute_import |
291 | - |
292 | import os |
293 | |
294 | import stat |
295 | |
296 | === modified file 'breezy/bedding.py' |
297 | --- breezy/bedding.py 2020-02-07 02:14:30 +0000 |
298 | +++ breezy/bedding.py 2020-02-18 05:49:35 +0000 |
299 | @@ -17,8 +17,6 @@ |
300 | |
301 | """Functions for deriving user configuration from system environment.""" |
302 | |
303 | -from __future__ import absolute_import |
304 | - |
305 | import os |
306 | import sys |
307 | |
308 | |
309 | === modified file 'breezy/bencode.py' |
310 | --- breezy/bencode.py 2018-11-11 03:33:20 +0000 |
311 | +++ breezy/bencode.py 2020-02-18 05:49:35 +0000 |
312 | @@ -16,8 +16,6 @@ |
313 | |
314 | """Wrapper around the bencode pyrex and python implementation""" |
315 | |
316 | -from __future__ import absolute_import |
317 | - |
318 | from . import osutils |
319 | |
320 | try: |
321 | |
322 | === modified file 'breezy/bisect.py' |
323 | --- breezy/bisect.py 2020-02-07 02:14:30 +0000 |
324 | +++ breezy/bisect.py 2020-02-18 05:49:35 +0000 |
325 | @@ -16,8 +16,6 @@ |
326 | |
327 | """bisect command implementations.""" |
328 | |
329 | -from __future__ import absolute_import |
330 | - |
331 | import sys |
332 | from .controldir import ControlDir |
333 | from . import revision as _mod_revision |
334 | |
335 | === modified file 'breezy/bisect_multi.py' |
336 | --- breezy/bisect_multi.py 2018-11-11 14:23:06 +0000 |
337 | +++ breezy/bisect_multi.py 2020-02-18 05:49:35 +0000 |
338 | @@ -16,8 +16,6 @@ |
339 | |
340 | """Bisection lookup multiple keys.""" |
341 | |
342 | -from __future__ import absolute_import |
343 | - |
344 | __all__ = [ |
345 | 'bisect_multi_bytes', |
346 | ] |
347 | |
348 | === modified file 'breezy/branch.py' |
349 | --- breezy/branch.py 2020-02-07 02:14:30 +0000 |
350 | +++ breezy/branch.py 2020-02-18 05:49:35 +0000 |
351 | @@ -14,8 +14,6 @@ |
352 | # along with this program; if not, write to the Free Software |
353 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
354 | |
355 | -from __future__ import absolute_import |
356 | - |
357 | from .lazy_import import lazy_import |
358 | lazy_import(globals(), """ |
359 | import contextlib |
360 | |
361 | === modified file 'breezy/branchbuilder.py' |
362 | --- breezy/branchbuilder.py 2020-02-07 02:14:30 +0000 |
363 | +++ breezy/branchbuilder.py 2020-02-18 05:49:35 +0000 |
364 | @@ -16,8 +16,6 @@ |
365 | |
366 | """Utility for create branches with particular contents.""" |
367 | |
368 | -from __future__ import absolute_import |
369 | - |
370 | from . import ( |
371 | controldir, |
372 | commit, |
373 | |
374 | === modified file 'breezy/breakin.py' |
375 | --- breezy/breakin.py 2018-11-11 03:33:20 +0000 |
376 | +++ breezy/breakin.py 2020-02-18 05:49:35 +0000 |
377 | @@ -14,8 +14,6 @@ |
378 | # along with this program; if not, write to the Free Software |
379 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
380 | |
381 | -from __future__ import absolute_import |
382 | - |
383 | import os |
384 | import signal |
385 | |
386 | |
387 | === modified file 'breezy/bugtracker.py' |
388 | --- breezy/bugtracker.py 2018-11-17 01:04:53 +0000 |
389 | +++ breezy/bugtracker.py 2020-02-18 05:49:35 +0000 |
390 | @@ -14,8 +14,6 @@ |
391 | # along with this program; if not, write to the Free Software |
392 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
393 | |
394 | -from __future__ import absolute_import |
395 | - |
396 | from . import ( |
397 | errors, |
398 | registry, |
399 | |
400 | === modified file 'breezy/builtins.py' |
401 | --- breezy/builtins.py 2020-02-07 02:14:30 +0000 |
402 | +++ breezy/builtins.py 2020-02-18 05:49:35 +0000 |
403 | @@ -16,8 +16,6 @@ |
404 | |
405 | """builtin brz commands""" |
406 | |
407 | -from __future__ import absolute_import |
408 | - |
409 | import errno |
410 | import os |
411 | import sys |
412 | |
413 | === modified file 'breezy/bzr/__init__.py' |
414 | --- breezy/bzr/__init__.py 2019-11-06 01:31:41 +0000 |
415 | +++ breezy/bzr/__init__.py 2020-02-18 05:49:35 +0000 |
416 | @@ -14,8 +14,6 @@ |
417 | # along with this program; if not, write to the Free Software |
418 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
419 | |
420 | -from __future__ import absolute_import |
421 | - |
422 | from .. import ( |
423 | config, |
424 | errors, |
425 | |
426 | === modified file 'breezy/bzr/_btree_serializer_py.py' |
427 | --- breezy/bzr/_btree_serializer_py.py 2018-11-11 04:08:32 +0000 |
428 | +++ breezy/bzr/_btree_serializer_py.py 2020-02-18 05:49:35 +0000 |
429 | @@ -17,8 +17,6 @@ |
430 | |
431 | """B+Tree index parsing.""" |
432 | |
433 | -from __future__ import absolute_import |
434 | - |
435 | from .. import static_tuple |
436 | |
437 | |
438 | |
439 | === modified file 'breezy/bzr/_btree_serializer_pyx.pyx' |
440 | --- breezy/bzr/_btree_serializer_pyx.pyx 2019-09-22 02:25:23 +0000 |
441 | +++ breezy/bzr/_btree_serializer_pyx.pyx 2020-02-18 05:49:35 +0000 |
442 | @@ -17,8 +17,6 @@ |
443 | |
444 | """Pyrex extensions to btree node parsing.""" |
445 | |
446 | -from __future__ import absolute_import |
447 | - |
448 | |
449 | cdef extern from "python-compat.h": |
450 | pass |
451 | |
452 | === modified file 'breezy/bzr/_chk_map_py.py' |
453 | --- breezy/bzr/_chk_map_py.py 2020-02-07 02:14:30 +0000 |
454 | +++ breezy/bzr/_chk_map_py.py 2020-02-18 05:49:35 +0000 |
455 | @@ -16,8 +16,6 @@ |
456 | |
457 | """Python implementation of _search_key functions, etc.""" |
458 | |
459 | -from __future__ import absolute_import |
460 | - |
461 | import zlib |
462 | import struct |
463 | |
464 | |
465 | === modified file 'breezy/bzr/_chk_map_pyx.pyx' |
466 | --- breezy/bzr/_chk_map_pyx.pyx 2019-09-22 02:25:23 +0000 |
467 | +++ breezy/bzr/_chk_map_pyx.pyx 2020-02-18 05:49:35 +0000 |
468 | @@ -14,8 +14,6 @@ |
469 | # along with this program; if not, write to the Free Software |
470 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
471 | |
472 | -from __future__ import absolute_import |
473 | - |
474 | cdef extern from "python-compat.h": |
475 | pass |
476 | |
477 | |
478 | === modified file 'breezy/bzr/_dirstate_helpers_py.py' |
479 | --- breezy/bzr/_dirstate_helpers_py.py 2020-02-07 02:14:30 +0000 |
480 | +++ breezy/bzr/_dirstate_helpers_py.py 2020-02-18 05:49:35 +0000 |
481 | @@ -16,8 +16,6 @@ |
482 | |
483 | """Python implementations of Dirstate Helper functions.""" |
484 | |
485 | -from __future__ import absolute_import |
486 | - |
487 | import binascii |
488 | import os |
489 | import struct |
490 | |
491 | === modified file 'breezy/bzr/_dirstate_helpers_pyx.pyx' |
492 | --- breezy/bzr/_dirstate_helpers_pyx.pyx 2020-01-31 10:39:02 +0000 |
493 | +++ breezy/bzr/_dirstate_helpers_pyx.pyx 2020-02-18 05:49:35 +0000 |
494 | @@ -19,8 +19,6 @@ |
495 | This is the python implementation for DirState functions. |
496 | """ |
497 | |
498 | -from __future__ import absolute_import |
499 | - |
500 | import binascii |
501 | import bisect |
502 | import errno |
503 | |
504 | === modified file 'breezy/bzr/_groupcompress_py.py' |
505 | --- breezy/bzr/_groupcompress_py.py 2020-02-07 02:14:30 +0000 |
506 | +++ breezy/bzr/_groupcompress_py.py 2020-02-18 05:49:35 +0000 |
507 | @@ -20,8 +20,6 @@ |
508 | useless stuff. |
509 | """ |
510 | |
511 | -from __future__ import absolute_import |
512 | - |
513 | from .. import osutils |
514 | |
515 | |
516 | |
517 | === modified file 'breezy/bzr/_groupcompress_pyx.pyx' |
518 | --- breezy/bzr/_groupcompress_pyx.pyx 2018-11-16 13:30:16 +0000 |
519 | +++ breezy/bzr/_groupcompress_pyx.pyx 2020-02-18 05:49:35 +0000 |
520 | @@ -16,8 +16,6 @@ |
521 | |
522 | """Compiled extensions for doing compression.""" |
523 | |
524 | -from __future__ import absolute_import |
525 | - |
526 | |
527 | cdef extern from "python-compat.h": |
528 | pass |
529 | |
530 | === modified file 'breezy/bzr/_knit_load_data_py.py' |
531 | --- breezy/bzr/_knit_load_data_py.py 2019-03-18 04:31:21 +0000 |
532 | +++ breezy/bzr/_knit_load_data_py.py 2020-02-18 05:49:35 +0000 |
533 | @@ -14,8 +14,6 @@ |
534 | # along with this program; if not, write to the Free Software |
535 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
536 | |
537 | -from __future__ import absolute_import |
538 | - |
539 | from .knit import KnitCorrupt |
540 | |
541 | |
542 | |
543 | === modified file 'breezy/bzr/_knit_load_data_pyx.pyx' |
544 | --- breezy/bzr/_knit_load_data_pyx.pyx 2018-07-03 17:23:58 +0000 |
545 | +++ breezy/bzr/_knit_load_data_pyx.pyx 2020-02-18 05:49:35 +0000 |
546 | @@ -16,8 +16,6 @@ |
547 | |
548 | """Pyrex extensions to knit parsing.""" |
549 | |
550 | -from __future__ import absolute_import |
551 | - |
552 | import sys |
553 | |
554 | from .knit import KnitCorrupt |
555 | |
556 | === modified file 'breezy/bzr/_str_helpers.pxd' |
557 | --- breezy/bzr/_str_helpers.pxd 2018-07-12 01:43:49 +0000 |
558 | +++ breezy/bzr/_str_helpers.pxd 2020-02-18 05:49:35 +0000 |
559 | @@ -17,8 +17,6 @@ |
560 | |
561 | """Trivial string helpers for use in other cython modules.""" |
562 | |
563 | -from __future__ import absolute_import |
564 | - |
565 | cdef extern from "python-compat.h": |
566 | object PyBytes_FromStringAndSize (char *, Py_ssize_t) |
567 | object PyBytes_InternFromStringAndSize (char *, Py_ssize_t) |
568 | |
569 | === modified file 'breezy/bzr/branch.py' |
570 | --- breezy/bzr/branch.py 2020-02-07 02:14:30 +0000 |
571 | +++ breezy/bzr/branch.py 2020-02-18 05:49:35 +0000 |
572 | @@ -15,8 +15,6 @@ |
573 | # along with this program; if not, write to the Free Software |
574 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
575 | |
576 | -from __future__ import absolute_import |
577 | - |
578 | from io import BytesIO |
579 | import sys |
580 | |
581 | |
582 | === modified file 'breezy/bzr/btree_index.py' |
583 | --- breezy/bzr/btree_index.py 2020-02-07 02:14:30 +0000 |
584 | +++ breezy/bzr/btree_index.py 2020-02-18 05:49:35 +0000 |
585 | @@ -17,8 +17,6 @@ |
586 | |
587 | """B+Tree indices""" |
588 | |
589 | -from __future__ import absolute_import, division |
590 | - |
591 | from io import BytesIO |
592 | |
593 | from ..lazy_import import lazy_import |
594 | |
595 | === modified file 'breezy/bzr/bundle/__init__.py' |
596 | --- breezy/bzr/bundle/__init__.py 2019-06-30 10:50:40 +0000 |
597 | +++ breezy/bzr/bundle/__init__.py 2020-02-18 05:49:35 +0000 |
598 | @@ -13,5 +13,3 @@ |
599 | # You should have received a copy of the GNU General Public License |
600 | # along with this program; if not, write to the Free Software |
601 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
602 | - |
603 | -from __future__ import absolute_import |
604 | |
605 | === modified file 'breezy/bzr/bundle/apply_bundle.py' |
606 | --- breezy/bzr/bundle/apply_bundle.py 2019-06-30 10:50:40 +0000 |
607 | +++ breezy/bzr/bundle/apply_bundle.py 2020-02-18 05:49:35 +0000 |
608 | @@ -18,8 +18,6 @@ |
609 | This contains functionality for installing bundles into repositories |
610 | """ |
611 | |
612 | -from __future__ import absolute_import |
613 | - |
614 | from ... import ui |
615 | from ...i18n import gettext |
616 | from ...merge import Merger |
617 | |
618 | === modified file 'breezy/bzr/bundle/bundle_data.py' |
619 | --- breezy/bzr/bundle/bundle_data.py 2020-02-13 23:57:28 +0000 |
620 | +++ breezy/bzr/bundle/bundle_data.py 2020-02-18 05:49:35 +0000 |
621 | @@ -16,8 +16,6 @@ |
622 | |
623 | """Read in a bundle stream, and process it into a BundleReader object.""" |
624 | |
625 | -from __future__ import absolute_import |
626 | - |
627 | import base64 |
628 | from io import BytesIO |
629 | import os |
630 | |
631 | === modified file 'breezy/bzr/bundle/commands.py' |
632 | --- breezy/bzr/bundle/commands.py 2020-02-07 02:14:30 +0000 |
633 | +++ breezy/bzr/bundle/commands.py 2020-02-18 05:49:35 +0000 |
634 | @@ -21,8 +21,6 @@ |
635 | and for applying a changeset. |
636 | """ |
637 | |
638 | -from __future__ import absolute_import |
639 | - |
640 | from io import BytesIO |
641 | |
642 | from ... import ( |
643 | |
644 | === modified file 'breezy/bzr/bundle/serializer/__init__.py' |
645 | --- breezy/bzr/bundle/serializer/__init__.py 2020-02-07 02:14:30 +0000 |
646 | +++ breezy/bzr/bundle/serializer/__init__.py 2020-02-18 05:49:35 +0000 |
647 | @@ -17,8 +17,6 @@ |
648 | """Serializer factory for reading and writing bundles. |
649 | """ |
650 | |
651 | -from __future__ import absolute_import |
652 | - |
653 | import base64 |
654 | from io import BytesIO |
655 | import re |
656 | |
657 | === modified file 'breezy/bzr/bundle/serializer/v08.py' |
658 | --- breezy/bzr/bundle/serializer/v08.py 2020-02-07 02:14:30 +0000 |
659 | +++ breezy/bzr/bundle/serializer/v08.py 2020-02-18 05:49:35 +0000 |
660 | @@ -17,8 +17,6 @@ |
661 | """Serializer factory for reading and writing bundles. |
662 | """ |
663 | |
664 | -from __future__ import absolute_import |
665 | - |
666 | from .... import ( |
667 | errors, |
668 | ui, |
669 | |
670 | === modified file 'breezy/bzr/bundle/serializer/v09.py' |
671 | --- breezy/bzr/bundle/serializer/v09.py 2019-09-21 15:10:27 +0000 |
672 | +++ breezy/bzr/bundle/serializer/v09.py 2020-02-18 05:49:35 +0000 |
673 | @@ -14,8 +14,6 @@ |
674 | # along with this program; if not, write to the Free Software |
675 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
676 | |
677 | -from __future__ import absolute_import |
678 | - |
679 | from . import _get_bundle_header |
680 | from .v08 import BundleSerializerV08, BundleReader |
681 | from ..bundle_data import BundleInfo |
682 | |
683 | === modified file 'breezy/bzr/bundle/serializer/v4.py' |
684 | --- breezy/bzr/bundle/serializer/v4.py 2020-02-13 23:57:28 +0000 |
685 | +++ breezy/bzr/bundle/serializer/v4.py 2020-02-18 05:49:35 +0000 |
686 | @@ -14,8 +14,6 @@ |
687 | # along with this program; if not, write to the Free Software |
688 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
689 | |
690 | -from __future__ import absolute_import |
691 | - |
692 | import bz2 |
693 | from io import ( |
694 | BytesIO, |
695 | |
696 | === modified file 'breezy/bzr/bzrdir.py' |
697 | --- breezy/bzr/bzrdir.py 2020-02-07 02:14:30 +0000 |
698 | +++ breezy/bzr/bzrdir.py 2020-02-18 05:49:35 +0000 |
699 | @@ -25,8 +25,6 @@ |
700 | objects returned. |
701 | """ |
702 | |
703 | -from __future__ import absolute_import |
704 | - |
705 | import sys |
706 | |
707 | from ..lazy_import import lazy_import |
708 | |
709 | === modified file 'breezy/bzr/check.py' |
710 | --- breezy/bzr/check.py 2020-02-07 02:14:30 +0000 |
711 | +++ breezy/bzr/check.py 2020-02-18 05:49:35 +0000 |
712 | @@ -47,8 +47,6 @@ |
713 | indicating that the revision was found/not found. |
714 | """ |
715 | |
716 | -from __future__ import absolute_import |
717 | - |
718 | from .. import ( |
719 | ui, |
720 | ) |
721 | |
722 | === modified file 'breezy/bzr/chk_map.py' |
723 | --- breezy/bzr/chk_map.py 2020-02-07 02:14:30 +0000 |
724 | +++ breezy/bzr/chk_map.py 2020-02-18 05:49:35 +0000 |
725 | @@ -37,8 +37,6 @@ |
726 | |
727 | """ |
728 | |
729 | -from __future__ import absolute_import |
730 | - |
731 | import heapq |
732 | import threading |
733 | |
734 | |
735 | === modified file 'breezy/bzr/chk_serializer.py' |
736 | --- breezy/bzr/chk_serializer.py 2020-02-07 02:14:30 +0000 |
737 | +++ breezy/bzr/chk_serializer.py 2020-02-18 05:49:35 +0000 |
738 | @@ -16,8 +16,6 @@ |
739 | |
740 | """Serializer object for CHK based inventory storage.""" |
741 | |
742 | -from __future__ import absolute_import |
743 | - |
744 | from io import ( |
745 | BytesIO, |
746 | ) |
747 | |
748 | === modified file 'breezy/bzr/debug_commands.py' |
749 | --- breezy/bzr/debug_commands.py 2020-02-07 02:14:30 +0000 |
750 | +++ breezy/bzr/debug_commands.py 2020-02-18 05:49:35 +0000 |
751 | @@ -16,8 +16,6 @@ |
752 | |
753 | """Debug commands for the bzr formats.""" |
754 | |
755 | -from __future__ import absolute_import |
756 | - |
757 | from io import BytesIO |
758 | |
759 | from .. import ( |
760 | |
761 | === modified file 'breezy/bzr/dirstate.py' |
762 | --- breezy/bzr/dirstate.py 2020-02-14 00:44:15 +0000 |
763 | +++ breezy/bzr/dirstate.py 2020-02-18 05:49:35 +0000 |
764 | @@ -218,8 +218,6 @@ |
765 | |
766 | """ |
767 | |
768 | -from __future__ import absolute_import |
769 | - |
770 | import bisect |
771 | import contextlib |
772 | import errno |
773 | |
774 | === modified file 'breezy/bzr/fetch.py' |
775 | --- breezy/bzr/fetch.py 2020-02-07 02:14:30 +0000 |
776 | +++ breezy/bzr/fetch.py 2020-02-18 05:49:35 +0000 |
777 | @@ -22,8 +22,6 @@ |
778 | branch. |
779 | """ |
780 | |
781 | -from __future__ import absolute_import |
782 | - |
783 | import operator |
784 | |
785 | from ..lazy_import import lazy_import |
786 | |
787 | === modified file 'breezy/bzr/fullhistory.py' |
788 | --- breezy/bzr/fullhistory.py 2020-01-18 04:16:23 +0000 |
789 | +++ breezy/bzr/fullhistory.py 2020-02-18 05:49:35 +0000 |
790 | @@ -16,8 +16,6 @@ |
791 | |
792 | """Full history branch formats.""" |
793 | |
794 | -from __future__ import absolute_import |
795 | - |
796 | from .. import ( |
797 | debug, |
798 | errors, |
799 | |
800 | === modified file 'breezy/bzr/generate_ids.py' |
801 | --- breezy/bzr/generate_ids.py 2020-02-07 02:14:30 +0000 |
802 | +++ breezy/bzr/generate_ids.py 2020-02-18 05:49:35 +0000 |
803 | @@ -16,8 +16,6 @@ |
804 | |
805 | """Common code for generating file or revision ids.""" |
806 | |
807 | -from __future__ import absolute_import |
808 | - |
809 | from ..lazy_import import lazy_import |
810 | lazy_import(globals(), """ |
811 | import time |
812 | |
813 | === modified file 'breezy/bzr/groupcompress.py' |
814 | --- breezy/bzr/groupcompress.py 2020-02-13 23:57:28 +0000 |
815 | +++ breezy/bzr/groupcompress.py 2020-02-18 05:49:35 +0000 |
816 | @@ -16,8 +16,6 @@ |
817 | |
818 | """Core compression logic for compressing streams of related files.""" |
819 | |
820 | -from __future__ import absolute_import |
821 | - |
822 | import time |
823 | import zlib |
824 | |
825 | |
826 | === modified file 'breezy/bzr/groupcompress_repo.py' |
827 | --- breezy/bzr/groupcompress_repo.py 2020-02-07 02:14:30 +0000 |
828 | +++ breezy/bzr/groupcompress_repo.py 2020-02-18 05:49:35 +0000 |
829 | @@ -16,8 +16,6 @@ |
830 | |
831 | """Repository formats using CHK inventories and groupcompress compression.""" |
832 | |
833 | -from __future__ import absolute_import |
834 | - |
835 | import time |
836 | |
837 | from .. import ( |
838 | |
839 | === modified file 'breezy/bzr/index.py' |
840 | --- breezy/bzr/index.py 2020-02-07 02:14:30 +0000 |
841 | +++ breezy/bzr/index.py 2020-02-18 05:49:35 +0000 |
842 | @@ -16,8 +16,6 @@ |
843 | |
844 | """Indexing facilities.""" |
845 | |
846 | -from __future__ import absolute_import |
847 | - |
848 | __all__ = [ |
849 | 'CombinedGraphIndex', |
850 | 'GraphIndex', |
851 | |
852 | === modified file 'breezy/bzr/inventory.py' |
853 | --- breezy/bzr/inventory.py 2020-02-07 02:14:30 +0000 |
854 | +++ breezy/bzr/inventory.py 2020-02-18 05:49:35 +0000 |
855 | @@ -23,8 +23,6 @@ |
856 | # But those depend on its position within a particular inventory, and |
857 | # it would be nice not to need to hold the backpointer here. |
858 | |
859 | -from __future__ import absolute_import |
860 | - |
861 | # This should really be an id randomly assigned when the tree is |
862 | # created, but it's not for now. |
863 | ROOT_ID = b"TREE_ROOT" |
864 | |
865 | === modified file 'breezy/bzr/inventory_delta.py' |
866 | --- breezy/bzr/inventory_delta.py 2020-02-09 01:16:06 +0000 |
867 | +++ breezy/bzr/inventory_delta.py 2020-02-18 05:49:35 +0000 |
868 | @@ -22,8 +22,6 @@ |
869 | - InventoryDeltaSerializer - object to read/write inventory deltas. |
870 | """ |
871 | |
872 | -from __future__ import absolute_import |
873 | - |
874 | __all__ = ['InventoryDeltaSerializer'] |
875 | |
876 | from .. import errors |
877 | |
878 | === modified file 'breezy/bzr/inventorytree.py' |
879 | --- breezy/bzr/inventorytree.py 2020-02-07 02:14:30 +0000 |
880 | +++ breezy/bzr/inventorytree.py 2020-02-18 05:49:35 +0000 |
881 | @@ -17,8 +17,6 @@ |
882 | """Tree classes, representing directory at point in time. |
883 | """ |
884 | |
885 | -from __future__ import absolute_import |
886 | - |
887 | import os |
888 | import re |
889 | |
890 | |
891 | === modified file 'breezy/bzr/knit.py' |
892 | --- breezy/bzr/knit.py 2020-02-07 02:14:30 +0000 |
893 | +++ breezy/bzr/knit.py 2020-02-18 05:49:35 +0000 |
894 | @@ -51,8 +51,6 @@ |
895 | |
896 | """ |
897 | |
898 | -from __future__ import absolute_import |
899 | - |
900 | import operator |
901 | from io import BytesIO |
902 | import os |
903 | |
904 | === modified file 'breezy/bzr/knitpack_repo.py' |
905 | --- breezy/bzr/knitpack_repo.py 2020-02-13 23:57:28 +0000 |
906 | +++ breezy/bzr/knitpack_repo.py 2020-02-18 05:49:35 +0000 |
907 | @@ -16,8 +16,6 @@ |
908 | |
909 | """Knit-based pack repository formats.""" |
910 | |
911 | -from __future__ import absolute_import |
912 | - |
913 | from .. import ( |
914 | errors, |
915 | ) |
916 | |
917 | === modified file 'breezy/bzr/knitrepo.py' |
918 | --- breezy/bzr/knitrepo.py 2020-01-11 17:50:28 +0000 |
919 | +++ breezy/bzr/knitrepo.py 2020-02-18 05:49:35 +0000 |
920 | @@ -14,8 +14,6 @@ |
921 | # along with this program; if not, write to the Free Software |
922 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
923 | |
924 | -from __future__ import absolute_import |
925 | - |
926 | from ..lazy_import import lazy_import |
927 | lazy_import(globals(), """ |
928 | import itertools |
929 | |
930 | === modified file 'breezy/bzr/pack.py' |
931 | --- breezy/bzr/pack.py 2020-02-13 23:57:28 +0000 |
932 | +++ breezy/bzr/pack.py 2020-02-18 05:49:35 +0000 |
933 | @@ -20,8 +20,6 @@ |
934 | doc/developers/container-format.txt. |
935 | """ |
936 | |
937 | -from __future__ import absolute_import |
938 | - |
939 | from io import BytesIO |
940 | import re |
941 | |
942 | |
943 | === modified file 'breezy/bzr/pack_repo.py' |
944 | --- breezy/bzr/pack_repo.py 2020-02-13 23:57:28 +0000 |
945 | +++ breezy/bzr/pack_repo.py 2020-02-18 05:49:35 +0000 |
946 | @@ -14,8 +14,6 @@ |
947 | # along with this program; if not, write to the Free Software |
948 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
949 | |
950 | -from __future__ import absolute_import |
951 | - |
952 | import re |
953 | import sys |
954 | |
955 | |
956 | === modified file 'breezy/bzr/reconcile.py' |
957 | --- breezy/bzr/reconcile.py 2020-02-07 02:14:30 +0000 |
958 | +++ breezy/bzr/reconcile.py 2020-02-18 05:49:35 +0000 |
959 | @@ -16,8 +16,6 @@ |
960 | |
961 | """Reconcilers are able to fix some potential data errors in a branch.""" |
962 | |
963 | -from __future__ import absolute_import |
964 | - |
965 | __all__ = [ |
966 | 'BranchReconciler', |
967 | 'KnitReconciler', |
968 | |
969 | === modified file 'breezy/bzr/remote.py' |
970 | --- breezy/bzr/remote.py 2020-02-13 23:57:28 +0000 |
971 | +++ breezy/bzr/remote.py 2020-02-18 05:49:35 +0000 |
972 | @@ -14,8 +14,6 @@ |
973 | # along with this program; if not, write to the Free Software |
974 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
975 | |
976 | -from __future__ import absolute_import |
977 | - |
978 | import bz2 |
979 | import os |
980 | import re |
981 | |
982 | === modified file 'breezy/bzr/repository.py' |
983 | --- breezy/bzr/repository.py 2020-02-07 02:14:30 +0000 |
984 | +++ breezy/bzr/repository.py 2020-02-18 05:49:35 +0000 |
985 | @@ -14,8 +14,6 @@ |
986 | # along with this program; if not, write to the Free Software |
987 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
988 | |
989 | -from __future__ import absolute_import |
990 | - |
991 | import itertools |
992 | |
993 | from . import ( |
994 | |
995 | === modified file 'breezy/bzr/serializer.py' |
996 | --- breezy/bzr/serializer.py 2020-01-31 10:39:02 +0000 |
997 | +++ breezy/bzr/serializer.py 2020-02-18 05:49:35 +0000 |
998 | @@ -16,8 +16,6 @@ |
999 | |
1000 | """Inventory/revision serialization.""" |
1001 | |
1002 | -from __future__ import absolute_import |
1003 | - |
1004 | from .. import registry |
1005 | |
1006 | |
1007 | |
1008 | === modified file 'breezy/bzr/smart/__init__.py' |
1009 | --- breezy/bzr/smart/__init__.py 2018-11-10 17:52:47 +0000 |
1010 | +++ breezy/bzr/smart/__init__.py 2020-02-18 05:49:35 +0000 |
1011 | @@ -33,8 +33,6 @@ |
1012 | |
1013 | """ |
1014 | |
1015 | -from __future__ import absolute_import |
1016 | - |
1017 | # TODO: A plain integer from query_version is too simple; should give some |
1018 | # capabilities too? |
1019 | |
1020 | |
1021 | === modified file 'breezy/bzr/smart/branch.py' |
1022 | --- breezy/bzr/smart/branch.py 2020-02-07 02:14:30 +0000 |
1023 | +++ breezy/bzr/smart/branch.py 2020-02-18 05:49:35 +0000 |
1024 | @@ -16,8 +16,6 @@ |
1025 | |
1026 | """Server-side branch related request implmentations.""" |
1027 | |
1028 | -from __future__ import absolute_import |
1029 | - |
1030 | from ... import ( |
1031 | bencode, |
1032 | errors, |
1033 | |
1034 | === modified file 'breezy/bzr/smart/bzrdir.py' |
1035 | --- breezy/bzr/smart/bzrdir.py 2020-02-07 02:14:30 +0000 |
1036 | +++ breezy/bzr/smart/bzrdir.py 2020-02-18 05:49:35 +0000 |
1037 | @@ -16,8 +16,6 @@ |
1038 | |
1039 | """Server-side bzrdir related request implmentations.""" |
1040 | |
1041 | -from __future__ import absolute_import |
1042 | - |
1043 | from ... import ( |
1044 | bencode, |
1045 | branch, |
1046 | |
1047 | === modified file 'breezy/bzr/smart/client.py' |
1048 | --- breezy/bzr/smart/client.py 2018-11-11 04:08:32 +0000 |
1049 | +++ breezy/bzr/smart/client.py 2020-02-18 05:49:35 +0000 |
1050 | @@ -14,8 +14,6 @@ |
1051 | # along with this program; if not, write to the Free Software |
1052 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1053 | |
1054 | -from __future__ import absolute_import |
1055 | - |
1056 | from ... import lazy_import |
1057 | lazy_import.lazy_import(globals(), """ |
1058 | from breezy.bzr.smart import request as _mod_request |
1059 | |
1060 | === modified file 'breezy/bzr/smart/medium.py' |
1061 | --- breezy/bzr/smart/medium.py 2019-07-28 22:59:46 +0000 |
1062 | +++ breezy/bzr/smart/medium.py 2020-02-18 05:49:35 +0000 |
1063 | @@ -24,8 +24,6 @@ |
1064 | breezy/transport/smart/__init__.py. |
1065 | """ |
1066 | |
1067 | -from __future__ import absolute_import |
1068 | - |
1069 | import errno |
1070 | import io |
1071 | import os |
1072 | |
1073 | === modified file 'breezy/bzr/smart/message.py' |
1074 | --- breezy/bzr/smart/message.py 2020-02-07 02:14:30 +0000 |
1075 | +++ breezy/bzr/smart/message.py 2020-02-18 05:49:35 +0000 |
1076 | @@ -14,8 +14,6 @@ |
1077 | # along with this program; if not, write to the Free Software |
1078 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1079 | |
1080 | -from __future__ import absolute_import |
1081 | - |
1082 | try: |
1083 | from collections.abc import deque |
1084 | except ImportError: # python < 3.7 |
1085 | |
1086 | === modified file 'breezy/bzr/smart/packrepository.py' |
1087 | --- breezy/bzr/smart/packrepository.py 2018-11-11 04:08:32 +0000 |
1088 | +++ breezy/bzr/smart/packrepository.py 2020-02-18 05:49:35 +0000 |
1089 | @@ -14,8 +14,6 @@ |
1090 | # along with this program; if not, write to the Free Software |
1091 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1092 | |
1093 | -from __future__ import absolute_import |
1094 | - |
1095 | """Server-side pack repository related request implmentations.""" |
1096 | |
1097 | from .request import ( |
1098 | |
1099 | === modified file 'breezy/bzr/smart/ping.py' |
1100 | --- breezy/bzr/smart/ping.py 2020-02-07 02:14:30 +0000 |
1101 | +++ breezy/bzr/smart/ping.py 2020-02-18 05:49:35 +0000 |
1102 | @@ -16,8 +16,6 @@ |
1103 | |
1104 | """Ping plugin for brz.""" |
1105 | |
1106 | -from __future__ import absolute_import |
1107 | - |
1108 | from ...commands import Command |
1109 | from ...lazy_import import lazy_import |
1110 | |
1111 | |
1112 | === modified file 'breezy/bzr/smart/protocol.py' |
1113 | --- breezy/bzr/smart/protocol.py 2020-02-07 02:14:30 +0000 |
1114 | +++ breezy/bzr/smart/protocol.py 2020-02-18 05:49:35 +0000 |
1115 | @@ -18,8 +18,6 @@ |
1116 | client and server. |
1117 | """ |
1118 | |
1119 | -from __future__ import absolute_import |
1120 | - |
1121 | try: |
1122 | from collections.abc import deque |
1123 | except ImportError: # python < 3.7 |
1124 | |
1125 | === modified file 'breezy/bzr/smart/repository.py' |
1126 | --- breezy/bzr/smart/repository.py 2020-02-07 02:14:30 +0000 |
1127 | +++ breezy/bzr/smart/repository.py 2020-02-18 05:49:35 +0000 |
1128 | @@ -16,8 +16,6 @@ |
1129 | |
1130 | """Server-side repository related request implementations.""" |
1131 | |
1132 | -from __future__ import absolute_import |
1133 | - |
1134 | import bz2 |
1135 | import itertools |
1136 | import os |
1137 | |
1138 | === modified file 'breezy/bzr/smart/request.py' |
1139 | --- breezy/bzr/smart/request.py 2020-02-07 02:14:30 +0000 |
1140 | +++ breezy/bzr/smart/request.py 2020-02-18 05:49:35 +0000 |
1141 | @@ -26,8 +26,6 @@ |
1142 | of times during a request). |
1143 | """ |
1144 | |
1145 | -from __future__ import absolute_import |
1146 | - |
1147 | # XXX: The class names are a little confusing: the protocol will instantiate a |
1148 | # SmartServerRequestHandler, whose dispatch_command method creates an instance |
1149 | # of a SmartServerRequest subclass. |
1150 | |
1151 | === modified file 'breezy/bzr/smart/server.py' |
1152 | --- breezy/bzr/smart/server.py 2020-02-07 02:14:30 +0000 |
1153 | +++ breezy/bzr/smart/server.py 2020-02-18 05:49:35 +0000 |
1154 | @@ -16,8 +16,6 @@ |
1155 | |
1156 | """Server for smart-server protocol.""" |
1157 | |
1158 | -from __future__ import absolute_import |
1159 | - |
1160 | import errno |
1161 | import os.path |
1162 | import socket |
1163 | |
1164 | === modified file 'breezy/bzr/smart/signals.py' |
1165 | --- breezy/bzr/smart/signals.py 2018-11-11 04:08:32 +0000 |
1166 | +++ breezy/bzr/smart/signals.py 2020-02-18 05:49:35 +0000 |
1167 | @@ -16,8 +16,6 @@ |
1168 | |
1169 | """Signal handling for the smart server code.""" |
1170 | |
1171 | -from __future__ import absolute_import |
1172 | - |
1173 | import signal |
1174 | import weakref |
1175 | |
1176 | |
1177 | === modified file 'breezy/bzr/smart/vfs.py' |
1178 | --- breezy/bzr/smart/vfs.py 2018-11-17 16:53:10 +0000 |
1179 | +++ breezy/bzr/smart/vfs.py 2020-02-18 05:49:35 +0000 |
1180 | @@ -24,8 +24,6 @@ |
1181 | protocol, as implemented in bzr 0.11 and later. |
1182 | """ |
1183 | |
1184 | -from __future__ import absolute_import |
1185 | - |
1186 | import os |
1187 | |
1188 | from ... import urlutils |
1189 | |
1190 | === modified file 'breezy/bzr/testament.py' |
1191 | --- breezy/bzr/testament.py 2020-02-07 02:14:30 +0000 |
1192 | +++ breezy/bzr/testament.py 2020-02-18 05:49:35 +0000 |
1193 | @@ -59,8 +59,6 @@ |
1194 | * the testament uses unix line-endings (\n) |
1195 | """ |
1196 | |
1197 | -from __future__ import absolute_import |
1198 | - |
1199 | # XXX: At the moment, clients trust that the graph described in a weave |
1200 | # is accurate, but that's not covered by the testament. Perhaps the best |
1201 | # fix is when verifying a revision to make sure that every file mentioned |
1202 | |
1203 | === modified file 'breezy/bzr/textinv.py' |
1204 | --- breezy/bzr/textinv.py 2018-11-11 04:08:32 +0000 |
1205 | +++ breezy/bzr/textinv.py 2020-02-18 05:49:35 +0000 |
1206 | @@ -14,8 +14,6 @@ |
1207 | # along with this program; if not, write to the Free Software |
1208 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1209 | |
1210 | -from __future__ import absolute_import |
1211 | - |
1212 | from .errors import BzrError |
1213 | from .inventory import Inventory |
1214 | |
1215 | |
1216 | === modified file 'breezy/bzr/versionedfile.py' |
1217 | --- breezy/bzr/versionedfile.py 2020-02-13 23:57:28 +0000 |
1218 | +++ breezy/bzr/versionedfile.py 2020-02-18 05:49:35 +0000 |
1219 | @@ -16,8 +16,6 @@ |
1220 | |
1221 | """Versioned text file storage api.""" |
1222 | |
1223 | -from __future__ import absolute_import |
1224 | - |
1225 | from copy import copy |
1226 | from io import BytesIO |
1227 | import itertools |
1228 | |
1229 | === modified file 'breezy/bzr/vf_repository.py' |
1230 | --- breezy/bzr/vf_repository.py 2020-02-13 23:57:28 +0000 |
1231 | +++ breezy/bzr/vf_repository.py 2020-02-18 05:49:35 +0000 |
1232 | @@ -16,8 +16,6 @@ |
1233 | |
1234 | """Repository formats built around versioned files.""" |
1235 | |
1236 | -from __future__ import absolute_import |
1237 | - |
1238 | from io import BytesIO |
1239 | |
1240 | from ..lazy_import import lazy_import |
1241 | |
1242 | === modified file 'breezy/bzr/vf_search.py' |
1243 | --- breezy/bzr/vf_search.py 2020-02-07 02:14:30 +0000 |
1244 | +++ breezy/bzr/vf_search.py 2020-02-18 05:49:35 +0000 |
1245 | @@ -16,8 +16,6 @@ |
1246 | |
1247 | """Searching in versioned file repositories.""" |
1248 | |
1249 | -from __future__ import absolute_import |
1250 | - |
1251 | import itertools |
1252 | |
1253 | from .. import ( |
1254 | |
1255 | === modified file 'breezy/bzr/weave.py' |
1256 | --- breezy/bzr/weave.py 2020-02-07 02:14:30 +0000 |
1257 | +++ breezy/bzr/weave.py 2020-02-18 05:49:35 +0000 |
1258 | @@ -18,8 +18,6 @@ |
1259 | |
1260 | """Weave - storage of related text file versions""" |
1261 | |
1262 | -from __future__ import absolute_import |
1263 | - |
1264 | # XXX: If we do weaves this way, will a merge still behave the same |
1265 | # way if it's done in a different order? That's a pretty desirable |
1266 | # property. |
1267 | |
1268 | === modified file 'breezy/bzr/weavefile.py' |
1269 | --- breezy/bzr/weavefile.py 2020-02-07 02:14:30 +0000 |
1270 | +++ breezy/bzr/weavefile.py 2020-02-18 05:49:35 +0000 |
1271 | @@ -34,8 +34,6 @@ |
1272 | line contains a newline, or ',' if not. |
1273 | """ |
1274 | |
1275 | -from __future__ import absolute_import |
1276 | - |
1277 | # TODO: When extracting a single version it'd be enough to just pass |
1278 | # an iterator returning the weave lines... We don't really need to |
1279 | # deserialize it into memory. |
1280 | |
1281 | === modified file 'breezy/bzr/workingtree.py' |
1282 | --- breezy/bzr/workingtree.py 2020-02-07 02:14:30 +0000 |
1283 | +++ breezy/bzr/workingtree.py 2020-02-18 05:49:35 +0000 |
1284 | @@ -30,8 +30,6 @@ |
1285 | """ |
1286 | |
1287 | |
1288 | -from __future__ import absolute_import |
1289 | - |
1290 | from bisect import bisect_left |
1291 | import breezy |
1292 | try: |
1293 | |
1294 | === modified file 'breezy/bzr/workingtree_3.py' |
1295 | --- breezy/bzr/workingtree_3.py 2019-06-29 13:16:26 +0000 |
1296 | +++ breezy/bzr/workingtree_3.py 2020-02-18 05:49:35 +0000 |
1297 | @@ -18,8 +18,6 @@ |
1298 | |
1299 | """ |
1300 | |
1301 | -from __future__ import absolute_import |
1302 | - |
1303 | import errno |
1304 | |
1305 | from . import ( |
1306 | |
1307 | === modified file 'breezy/bzr/workingtree_4.py' |
1308 | --- breezy/bzr/workingtree_4.py 2020-02-13 23:57:28 +0000 |
1309 | +++ breezy/bzr/workingtree_4.py 2020-02-18 05:49:35 +0000 |
1310 | @@ -22,8 +22,6 @@ |
1311 | WorkingTree.open(dir). |
1312 | """ |
1313 | |
1314 | -from __future__ import absolute_import |
1315 | - |
1316 | from io import BytesIO |
1317 | import os |
1318 | |
1319 | |
1320 | === modified file 'breezy/bzr/xml5.py' |
1321 | --- breezy/bzr/xml5.py 2020-01-31 02:49:47 +0000 |
1322 | +++ breezy/bzr/xml5.py 2020-02-18 05:49:35 +0000 |
1323 | @@ -14,8 +14,6 @@ |
1324 | # along with this program; if not, write to the Free Software |
1325 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1326 | |
1327 | -from __future__ import absolute_import |
1328 | - |
1329 | from .. import ( |
1330 | cache_utf8, |
1331 | errors, |
1332 | |
1333 | === modified file 'breezy/bzr/xml6.py' |
1334 | --- breezy/bzr/xml6.py 2018-05-13 02:18:13 +0000 |
1335 | +++ breezy/bzr/xml6.py 2020-02-18 05:49:35 +0000 |
1336 | @@ -14,8 +14,6 @@ |
1337 | # along with this program; if not, write to the Free Software |
1338 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1339 | |
1340 | -from __future__ import absolute_import |
1341 | - |
1342 | from . import xml8 |
1343 | |
1344 | |
1345 | |
1346 | === modified file 'breezy/bzr/xml7.py' |
1347 | --- breezy/bzr/xml7.py 2018-11-10 17:52:47 +0000 |
1348 | +++ breezy/bzr/xml7.py 2020-02-18 05:49:35 +0000 |
1349 | @@ -14,8 +14,6 @@ |
1350 | # along with this program; if not, write to the Free Software |
1351 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1352 | |
1353 | -from __future__ import absolute_import |
1354 | - |
1355 | from . import ( |
1356 | xml6, |
1357 | ) |
1358 | |
1359 | === modified file 'breezy/bzr/xml8.py' |
1360 | --- breezy/bzr/xml8.py 2020-02-07 02:14:30 +0000 |
1361 | +++ breezy/bzr/xml8.py 2020-02-18 05:49:35 +0000 |
1362 | @@ -14,8 +14,6 @@ |
1363 | # along with this program; if not, write to the Free Software |
1364 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1365 | |
1366 | -from __future__ import absolute_import |
1367 | - |
1368 | from io import BytesIO |
1369 | |
1370 | from .. import ( |
1371 | |
1372 | === modified file 'breezy/bzr/xml_serializer.py' |
1373 | --- breezy/bzr/xml_serializer.py 2020-02-07 02:14:30 +0000 |
1374 | +++ breezy/bzr/xml_serializer.py 2020-02-18 05:49:35 +0000 |
1375 | @@ -16,8 +16,6 @@ |
1376 | |
1377 | """XML externalization support.""" |
1378 | |
1379 | -from __future__ import absolute_import |
1380 | - |
1381 | # "XML is like violence: if it doesn't solve your problem, you aren't |
1382 | # using enough of it." -- various |
1383 | |
1384 | |
1385 | === modified file 'breezy/bzr_distutils.py' |
1386 | --- breezy/bzr_distutils.py 2018-11-11 04:08:32 +0000 |
1387 | +++ breezy/bzr_distutils.py 2020-02-18 05:49:35 +0000 |
1388 | @@ -20,8 +20,6 @@ |
1389 | |
1390 | """build_mo command for setup.py""" |
1391 | |
1392 | -from __future__ import absolute_import |
1393 | - |
1394 | from distutils import log |
1395 | from distutils.core import Command |
1396 | from distutils.dep_util import newer |
1397 | |
1398 | === modified file 'breezy/cache_utf8.py' |
1399 | --- breezy/cache_utf8.py 2018-11-11 04:08:32 +0000 |
1400 | +++ breezy/cache_utf8.py 2020-02-18 05:49:35 +0000 |
1401 | @@ -19,8 +19,6 @@ |
1402 | |
1403 | """Some functions to enable caching the conversion between unicode to utf8""" |
1404 | |
1405 | -from __future__ import absolute_import |
1406 | - |
1407 | import codecs |
1408 | |
1409 | _utf8_encode = codecs.utf_8_encode |
1410 | |
1411 | === modified file 'breezy/cethread.py' |
1412 | --- breezy/cethread.py 2020-02-07 02:14:30 +0000 |
1413 | +++ breezy/cethread.py 2020-02-18 05:49:35 +0000 |
1414 | @@ -14,8 +14,6 @@ |
1415 | # along with this program; if not, write to the Free Software |
1416 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1417 | |
1418 | -from __future__ import absolute_import |
1419 | - |
1420 | import sys |
1421 | import threading |
1422 | |
1423 | |
1424 | === modified file 'breezy/check.py' |
1425 | --- breezy/check.py 2020-02-07 02:14:30 +0000 |
1426 | +++ breezy/check.py 2020-02-18 05:49:35 +0000 |
1427 | @@ -34,8 +34,6 @@ |
1428 | indicating that the revision was found/not found. |
1429 | """ |
1430 | |
1431 | -from __future__ import absolute_import |
1432 | - |
1433 | import contextlib |
1434 | |
1435 | from . import ( |
1436 | |
1437 | === modified file 'breezy/chunk_writer.py' |
1438 | --- breezy/chunk_writer.py 2018-11-12 01:41:38 +0000 |
1439 | +++ breezy/chunk_writer.py 2020-02-18 05:49:35 +0000 |
1440 | @@ -17,8 +17,6 @@ |
1441 | |
1442 | """ChunkWriter: write compressed data out with a fixed upper bound.""" |
1443 | |
1444 | -from __future__ import absolute_import |
1445 | - |
1446 | import zlib |
1447 | from zlib import Z_FINISH, Z_SYNC_FLUSH |
1448 | |
1449 | |
1450 | === modified file 'breezy/clean_tree.py' |
1451 | --- breezy/clean_tree.py 2018-11-11 04:08:32 +0000 |
1452 | +++ breezy/clean_tree.py 2020-02-18 05:49:35 +0000 |
1453 | @@ -14,8 +14,6 @@ |
1454 | # along with this program; if not, write to the Free Software |
1455 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1456 | |
1457 | -from __future__ import absolute_import |
1458 | - |
1459 | import errno |
1460 | import os |
1461 | import shutil |
1462 | |
1463 | === modified file 'breezy/cmd_test_script.py' |
1464 | --- breezy/cmd_test_script.py 2018-11-11 04:08:32 +0000 |
1465 | +++ breezy/cmd_test_script.py 2020-02-18 05:49:35 +0000 |
1466 | @@ -20,8 +20,6 @@ |
1467 | This module should be importable even if testtools aren't available. |
1468 | """ |
1469 | |
1470 | -from __future__ import absolute_import |
1471 | - |
1472 | import os |
1473 | |
1474 | from . import ( |
1475 | |
1476 | === modified file 'breezy/cmd_version_info.py' |
1477 | --- breezy/cmd_version_info.py 2020-02-07 02:14:30 +0000 |
1478 | +++ breezy/cmd_version_info.py 2020-02-18 05:49:35 +0000 |
1479 | @@ -16,8 +16,6 @@ |
1480 | |
1481 | """Commands for generating snapshot information about a brz tree.""" |
1482 | |
1483 | -from __future__ import absolute_import |
1484 | - |
1485 | from .lazy_import import lazy_import |
1486 | |
1487 | lazy_import(globals(), """ |
1488 | |
1489 | === modified file 'breezy/cmdline.py' |
1490 | --- breezy/cmdline.py 2018-11-12 01:41:38 +0000 |
1491 | +++ breezy/cmdline.py 2020-02-18 05:49:35 +0000 |
1492 | @@ -20,8 +20,6 @@ |
1493 | configuring_bazaar.txt. |
1494 | """ |
1495 | |
1496 | -from __future__ import absolute_import |
1497 | - |
1498 | import re |
1499 | |
1500 | |
1501 | |
1502 | === modified file 'breezy/colordiff.py' |
1503 | --- breezy/colordiff.py 2020-01-31 02:31:42 +0000 |
1504 | +++ breezy/colordiff.py 2020-02-18 05:49:35 +0000 |
1505 | @@ -15,8 +15,6 @@ |
1506 | # along with this program; if not, write to the Free Software |
1507 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1508 | |
1509 | -from __future__ import absolute_import |
1510 | - |
1511 | import re |
1512 | import sys |
1513 | from os.path import expanduser |
1514 | |
1515 | === modified file 'breezy/commands.py' |
1516 | --- breezy/commands.py 2020-02-13 23:57:28 +0000 |
1517 | +++ breezy/commands.py 2020-02-18 05:49:35 +0000 |
1518 | @@ -14,8 +14,6 @@ |
1519 | # along with this program; if not, write to the Free Software |
1520 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1521 | |
1522 | -from __future__ import absolute_import |
1523 | - |
1524 | # TODO: Define arguments by objects, rather than just using names. |
1525 | # Those objects can specify the expected type of the argument, which |
1526 | # would help with validation and shell completion. They could also provide |
1527 | |
1528 | === modified file 'breezy/commit.py' |
1529 | --- breezy/commit.py 2020-02-07 02:14:30 +0000 |
1530 | +++ breezy/commit.py 2020-02-18 05:49:35 +0000 |
1531 | @@ -14,8 +14,6 @@ |
1532 | # along with this program; if not, write to the Free Software |
1533 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1534 | |
1535 | -from __future__ import absolute_import |
1536 | - |
1537 | # The newly committed revision is going to have a shape corresponding |
1538 | # to that of the working tree. Files that are not in the |
1539 | # working tree and that were in the predecessor are reported as |
1540 | |
1541 | === modified file 'breezy/commit_signature_commands.py' |
1542 | --- breezy/commit_signature_commands.py 2020-02-07 02:14:30 +0000 |
1543 | +++ breezy/commit_signature_commands.py 2020-02-18 05:49:35 +0000 |
1544 | @@ -16,8 +16,6 @@ |
1545 | |
1546 | """Command that signs unsigned commits by the current user. """ |
1547 | |
1548 | -from __future__ import absolute_import |
1549 | - |
1550 | from . import ( |
1551 | controldir, |
1552 | errors, |
1553 | |
1554 | === modified file 'breezy/config.py' |
1555 | --- breezy/config.py 2020-02-07 02:14:30 +0000 |
1556 | +++ breezy/config.py 2020-02-18 05:49:35 +0000 |
1557 | @@ -74,7 +74,6 @@ |
1558 | up=pull |
1559 | """ |
1560 | |
1561 | -from __future__ import absolute_import |
1562 | import os |
1563 | import sys |
1564 | |
1565 | |
1566 | === modified file 'breezy/conflicts.py' |
1567 | --- breezy/conflicts.py 2020-02-07 02:14:30 +0000 |
1568 | +++ breezy/conflicts.py 2020-02-18 05:49:35 +0000 |
1569 | @@ -17,8 +17,6 @@ |
1570 | # TODO: 'brz resolve' should accept a directory name and work from that |
1571 | # point down |
1572 | |
1573 | -from __future__ import absolute_import |
1574 | - |
1575 | import os |
1576 | import re |
1577 | |
1578 | |
1579 | === modified file 'breezy/controldir.py' |
1580 | --- breezy/controldir.py 2019-11-06 01:31:41 +0000 |
1581 | +++ breezy/controldir.py 2020-02-18 05:49:35 +0000 |
1582 | @@ -22,8 +22,6 @@ |
1583 | |
1584 | """ |
1585 | |
1586 | -from __future__ import absolute_import |
1587 | - |
1588 | from .lazy_import import lazy_import |
1589 | lazy_import(globals(), """ |
1590 | import textwrap |
1591 | |
1592 | === modified file 'breezy/counted_lock.py' |
1593 | --- breezy/counted_lock.py 2018-11-18 19:48:57 +0000 |
1594 | +++ breezy/counted_lock.py 2020-02-18 05:49:35 +0000 |
1595 | @@ -16,8 +16,6 @@ |
1596 | |
1597 | """Counted lock class""" |
1598 | |
1599 | -from __future__ import absolute_import |
1600 | - |
1601 | from . import ( |
1602 | errors, |
1603 | ) |
1604 | |
1605 | === modified file 'breezy/crash.py' |
1606 | --- breezy/crash.py 2020-02-07 02:14:30 +0000 |
1607 | +++ breezy/crash.py 2020-02-18 05:49:35 +0000 |
1608 | @@ -36,8 +36,6 @@ |
1609 | -Dno_apport. |
1610 | """ |
1611 | |
1612 | -from __future__ import absolute_import |
1613 | - |
1614 | # for interactive testing, try the 'brz assert-fail' command |
1615 | # or see http://code.launchpad.net/~mbp/bzr/bzr-fail |
1616 | # |
1617 | |
1618 | === modified file 'breezy/debug.py' |
1619 | --- breezy/debug.py 2017-07-30 16:59:50 +0000 |
1620 | +++ breezy/debug.py 2020-02-18 05:49:35 +0000 |
1621 | @@ -23,8 +23,6 @@ |
1622 | for a list of the available options. |
1623 | """ |
1624 | |
1625 | -from __future__ import absolute_import |
1626 | - |
1627 | debug_flags = set() |
1628 | |
1629 | |
1630 | |
1631 | === modified file 'breezy/decorators.py' |
1632 | --- breezy/decorators.py 2018-07-24 21:11:49 +0000 |
1633 | +++ breezy/decorators.py 2020-02-18 05:49:35 +0000 |
1634 | @@ -14,8 +14,6 @@ |
1635 | # along with this program; if not, write to the Free Software |
1636 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1637 | |
1638 | -from __future__ import absolute_import |
1639 | - |
1640 | from . import trace |
1641 | |
1642 | |
1643 | |
1644 | === modified file 'breezy/delta.py' |
1645 | --- breezy/delta.py 2020-02-07 02:14:30 +0000 |
1646 | +++ breezy/delta.py 2020-02-18 05:49:35 +0000 |
1647 | @@ -14,8 +14,6 @@ |
1648 | # along with this program; if not, write to the Free Software |
1649 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1650 | |
1651 | -from __future__ import absolute_import |
1652 | - |
1653 | from io import StringIO |
1654 | |
1655 | from breezy import ( |
1656 | |
1657 | === modified file 'breezy/diff.py' |
1658 | --- breezy/diff.py 2020-02-07 02:14:30 +0000 |
1659 | +++ breezy/diff.py 2020-02-18 05:49:35 +0000 |
1660 | @@ -14,8 +14,6 @@ |
1661 | # along with this program; if not, write to the Free Software |
1662 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1663 | |
1664 | -from __future__ import absolute_import |
1665 | - |
1666 | import contextlib |
1667 | import difflib |
1668 | import os |
1669 | |
1670 | === modified file 'breezy/directory_service.py' |
1671 | --- breezy/directory_service.py 2019-03-02 22:31:28 +0000 |
1672 | +++ breezy/directory_service.py 2020-02-18 05:49:35 +0000 |
1673 | @@ -20,8 +20,6 @@ |
1674 | to true URLs. Examples include lp:urls and per-user location aliases. |
1675 | """ |
1676 | |
1677 | -from __future__ import absolute_import |
1678 | - |
1679 | from . import ( |
1680 | errors, |
1681 | registry, |
1682 | |
1683 | === modified file 'breezy/doc/__init__.py' |
1684 | --- breezy/doc/__init__.py 2017-05-23 14:08:03 +0000 |
1685 | +++ breezy/doc/__init__.py 2020-02-18 05:49:35 +0000 |
1686 | @@ -20,8 +20,6 @@ |
1687 | for man page generation. |
1688 | """ |
1689 | |
1690 | -from __future__ import absolute_import |
1691 | - |
1692 | |
1693 | def load_tests(loader, basic_tests, pattern): |
1694 | suite = loader.suiteClass() |
1695 | |
1696 | === modified file 'breezy/doc/api/__init__.py' |
1697 | --- breezy/doc/api/__init__.py 2017-05-23 14:08:03 +0000 |
1698 | +++ breezy/doc/api/__init__.py 2020-02-18 05:49:35 +0000 |
1699 | @@ -24,8 +24,6 @@ |
1700 | For details on specific apis, see pydoc on the api, or read the source. |
1701 | """ |
1702 | |
1703 | -from __future__ import absolute_import |
1704 | - |
1705 | import doctest |
1706 | import os |
1707 | |
1708 | |
1709 | === modified file 'breezy/doc_generate/__init__.py' |
1710 | --- breezy/doc_generate/__init__.py 2017-05-30 21:42:49 +0000 |
1711 | +++ breezy/doc_generate/__init__.py 2020-02-18 05:49:35 +0000 |
1712 | @@ -14,8 +14,6 @@ |
1713 | # along with this program; if not, write to the Free Software |
1714 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1715 | |
1716 | -from __future__ import absolute_import |
1717 | - |
1718 | import datetime |
1719 | import os |
1720 | |
1721 | |
1722 | === modified file 'breezy/doc_generate/autodoc_bash_completion.py' |
1723 | --- breezy/doc_generate/autodoc_bash_completion.py 2018-11-11 04:08:32 +0000 |
1724 | +++ breezy/doc_generate/autodoc_bash_completion.py 2020-02-18 05:49:35 +0000 |
1725 | @@ -16,8 +16,6 @@ |
1726 | |
1727 | "bash_completion.py - create bash completion script from built-in brz help" |
1728 | |
1729 | -from __future__ import absolute_import |
1730 | - |
1731 | import breezy |
1732 | import breezy.help |
1733 | import breezy.commands |
1734 | |
1735 | === modified file 'breezy/doc_generate/autodoc_man.py' |
1736 | --- breezy/doc_generate/autodoc_man.py 2018-11-11 04:08:32 +0000 |
1737 | +++ breezy/doc_generate/autodoc_man.py 2020-02-18 05:49:35 +0000 |
1738 | @@ -21,8 +21,6 @@ |
1739 | * add command aliases |
1740 | """ |
1741 | |
1742 | -from __future__ import absolute_import |
1743 | - |
1744 | PLUGINS_TO_DOCUMENT = ["launchpad"] |
1745 | |
1746 | import textwrap |
1747 | |
1748 | === modified file 'breezy/doc_generate/autodoc_rstx.py' |
1749 | --- breezy/doc_generate/autodoc_rstx.py 2019-01-03 01:23:19 +0000 |
1750 | +++ breezy/doc_generate/autodoc_rstx.py 2020-02-18 05:49:35 +0000 |
1751 | @@ -20,8 +20,6 @@ |
1752 | Written by the Bazaar/Breezy community. |
1753 | """ |
1754 | |
1755 | -from __future__ import absolute_import |
1756 | - |
1757 | import time |
1758 | |
1759 | import breezy |
1760 | |
1761 | === modified file 'breezy/doc_generate/conf.py' |
1762 | --- breezy/doc_generate/conf.py 2018-11-18 21:24:22 +0000 |
1763 | +++ breezy/doc_generate/conf.py 2020-02-18 05:49:35 +0000 |
1764 | @@ -6,8 +6,6 @@ |
1765 | # All configuration values have a default; values that are commented out |
1766 | # serve to show the default. |
1767 | |
1768 | -from __future__ import absolute_import |
1769 | - |
1770 | # FIXME: better move the content of doc/en/conf.py here and cleanup the result |
1771 | # -- vila 20100428 |
1772 | |
1773 | |
1774 | === modified file 'breezy/email_message.py' |
1775 | --- breezy/email_message.py 2020-02-07 02:14:30 +0000 |
1776 | +++ breezy/email_message.py 2020-02-18 05:49:35 +0000 |
1777 | @@ -16,8 +16,6 @@ |
1778 | |
1779 | """A convenience class around email.Message and email.MIMEMultipart.""" |
1780 | |
1781 | -from __future__ import absolute_import |
1782 | - |
1783 | from email.message import Message |
1784 | from email.header import Header |
1785 | from email.mime.multipart import MIMEMultipart |
1786 | |
1787 | === modified file 'breezy/errors.py' |
1788 | --- breezy/errors.py 2020-02-07 02:14:30 +0000 |
1789 | +++ breezy/errors.py 2020-02-18 05:49:35 +0000 |
1790 | @@ -17,8 +17,6 @@ |
1791 | """Exceptions for bzr, and reporting of them. |
1792 | """ |
1793 | |
1794 | -from __future__ import absolute_import |
1795 | - |
1796 | |
1797 | # TODO: is there any value in providing the .args field used by standard |
1798 | # python exceptions? A list of values with no names seems less useful |
1799 | |
1800 | === modified file 'breezy/estimate_compressed_size.py' |
1801 | --- breezy/estimate_compressed_size.py 2018-11-11 04:08:32 +0000 |
1802 | +++ breezy/estimate_compressed_size.py 2020-02-18 05:49:35 +0000 |
1803 | @@ -16,8 +16,6 @@ |
1804 | |
1805 | """Code to estimate the entropy of content""" |
1806 | |
1807 | -from __future__ import absolute_import |
1808 | - |
1809 | import zlib |
1810 | |
1811 | |
1812 | |
1813 | === modified file 'breezy/export.py' |
1814 | --- breezy/export.py 2019-01-13 18:33:39 +0000 |
1815 | +++ breezy/export.py 2020-02-18 05:49:35 +0000 |
1816 | @@ -17,8 +17,6 @@ |
1817 | """Export trees to tarballs, non-controlled directories, zipfiles, etc. |
1818 | """ |
1819 | |
1820 | -from __future__ import absolute_import |
1821 | - |
1822 | import errno |
1823 | import os |
1824 | import sys |
1825 | |
1826 | === modified file 'breezy/export_pot.py' |
1827 | --- breezy/export_pot.py 2020-02-13 23:57:28 +0000 |
1828 | +++ breezy/export_pot.py 2020-02-18 05:49:35 +0000 |
1829 | @@ -26,8 +26,6 @@ |
1830 | is also left to that stage of the process. |
1831 | """ |
1832 | |
1833 | -from __future__ import absolute_import |
1834 | - |
1835 | import inspect |
1836 | import os |
1837 | import sys |
1838 | |
1839 | === modified file 'breezy/externalcommand.py' |
1840 | --- breezy/externalcommand.py 2018-11-11 04:08:32 +0000 |
1841 | +++ breezy/externalcommand.py 2020-02-18 05:49:35 +0000 |
1842 | @@ -14,8 +14,6 @@ |
1843 | # along with this program; if not, write to the Free Software |
1844 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1845 | |
1846 | -from __future__ import absolute_import |
1847 | - |
1848 | # TODO: Perhaps rather than mapping options and arguments back and |
1849 | # forth, we should just pass in the whole argv, and allow |
1850 | # ExternalCommands to handle it differently to internal commands? |
1851 | |
1852 | === modified file 'breezy/fetch_ghosts.py' |
1853 | --- breezy/fetch_ghosts.py 2020-02-07 02:14:30 +0000 |
1854 | +++ breezy/fetch_ghosts.py 2020-02-18 05:49:35 +0000 |
1855 | @@ -14,8 +14,6 @@ |
1856 | # along with this program; if not, write to the Free Software |
1857 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1858 | |
1859 | -from __future__ import absolute_import |
1860 | - |
1861 | import contextlib |
1862 | |
1863 | from .branch import Branch |
1864 | |
1865 | === modified file 'breezy/fifo_cache.py' |
1866 | --- breezy/fifo_cache.py 2018-11-11 04:08:32 +0000 |
1867 | +++ breezy/fifo_cache.py 2020-02-18 05:49:35 +0000 |
1868 | @@ -16,8 +16,6 @@ |
1869 | |
1870 | """A simple first-in-first-out (FIFO) cache.""" |
1871 | |
1872 | -from __future__ import absolute_import, division |
1873 | - |
1874 | from collections import deque |
1875 | |
1876 | |
1877 | |
1878 | === modified file 'breezy/filter_tree.py' |
1879 | --- breezy/filter_tree.py 2020-01-10 01:40:18 +0000 |
1880 | +++ breezy/filter_tree.py 2020-02-18 05:49:35 +0000 |
1881 | @@ -17,8 +17,6 @@ |
1882 | """Content-filtered view of any tree. |
1883 | """ |
1884 | |
1885 | -from __future__ import absolute_import |
1886 | - |
1887 | from io import BytesIO |
1888 | |
1889 | from . import ( |
1890 | |
1891 | === modified file 'breezy/filters/__init__.py' |
1892 | --- breezy/filters/__init__.py 2020-01-30 17:54:42 +0000 |
1893 | +++ breezy/filters/__init__.py 2020-02-18 05:49:35 +0000 |
1894 | @@ -38,7 +38,6 @@ |
1895 | Note that context is currently only supported for write converters. |
1896 | """ |
1897 | |
1898 | -from __future__ import absolute_import |
1899 | |
1900 | from io import ( |
1901 | BytesIO, |
1902 | |
1903 | === modified file 'breezy/filters/eol.py' |
1904 | --- breezy/filters/eol.py 2018-11-11 04:08:32 +0000 |
1905 | +++ breezy/filters/eol.py 2020-02-18 05:49:35 +0000 |
1906 | @@ -19,9 +19,6 @@ |
1907 | See bzr help eol for details. |
1908 | """ |
1909 | |
1910 | -from __future__ import absolute_import |
1911 | - |
1912 | - |
1913 | import re |
1914 | import sys |
1915 | |
1916 | |
1917 | === modified file 'breezy/foreign.py' |
1918 | --- breezy/foreign.py 2020-01-11 17:50:28 +0000 |
1919 | +++ breezy/foreign.py 2020-02-18 05:49:35 +0000 |
1920 | @@ -16,9 +16,6 @@ |
1921 | |
1922 | """Foreign branch utilities.""" |
1923 | |
1924 | -from __future__ import absolute_import |
1925 | - |
1926 | - |
1927 | from .branch import ( |
1928 | Branch, |
1929 | ) |
1930 | |
1931 | === modified file 'breezy/git/__init__.py' |
1932 | --- breezy/git/__init__.py 2020-01-12 13:56:10 +0000 |
1933 | +++ breezy/git/__init__.py 2020-02-18 05:49:35 +0000 |
1934 | @@ -22,8 +22,6 @@ |
1935 | |
1936 | """A GIT branch and repository format implementation for bzr.""" |
1937 | |
1938 | -from __future__ import absolute_import |
1939 | - |
1940 | import os |
1941 | import sys |
1942 | |
1943 | |
1944 | === modified file 'breezy/git/annotate.py' |
1945 | --- breezy/git/annotate.py 2020-02-09 01:27:02 +0000 |
1946 | +++ breezy/git/annotate.py 2020-02-18 05:49:35 +0000 |
1947 | @@ -16,8 +16,6 @@ |
1948 | |
1949 | """Annotate.""" |
1950 | |
1951 | -from __future__ import absolute_import |
1952 | - |
1953 | from dulwich.object_store import ( |
1954 | tree_lookup_path, |
1955 | ) |
1956 | |
1957 | === modified file 'breezy/git/branch.py' |
1958 | --- breezy/git/branch.py 2020-02-07 02:14:30 +0000 |
1959 | +++ breezy/git/branch.py 2020-02-18 05:49:35 +0000 |
1960 | @@ -17,7 +17,6 @@ |
1961 | |
1962 | """An adapter between a Git Branch and a Bazaar Branch""" |
1963 | |
1964 | -from __future__ import absolute_import |
1965 | |
1966 | import contextlib |
1967 | from io import BytesIO |
1968 | |
1969 | === modified file 'breezy/git/cache.py' |
1970 | --- breezy/git/cache.py 2020-02-07 02:14:30 +0000 |
1971 | +++ breezy/git/cache.py 2020-02-18 05:49:35 +0000 |
1972 | @@ -16,8 +16,6 @@ |
1973 | |
1974 | """Map from Git sha's to Bazaar objects.""" |
1975 | |
1976 | -from __future__ import absolute_import |
1977 | - |
1978 | from dulwich.objects import ( |
1979 | sha_to_hex, |
1980 | hex_to_sha, |
1981 | |
1982 | === modified file 'breezy/git/commands.py' |
1983 | --- breezy/git/commands.py 2020-02-07 02:14:30 +0000 |
1984 | +++ breezy/git/commands.py 2020-02-18 05:49:35 +0000 |
1985 | @@ -21,8 +21,6 @@ |
1986 | |
1987 | """Git-specific subcommands for Bazaar.""" |
1988 | |
1989 | -from __future__ import absolute_import |
1990 | - |
1991 | import breezy.bzr # noqa: F401 |
1992 | from breezy import controldir |
1993 | from ..commands import ( |
1994 | |
1995 | === modified file 'breezy/git/commit.py' |
1996 | --- breezy/git/commit.py 2020-02-07 02:14:30 +0000 |
1997 | +++ breezy/git/commit.py 2020-02-18 05:49:35 +0000 |
1998 | @@ -17,8 +17,6 @@ |
1999 | |
2000 | """Support for committing in native Git working trees.""" |
2001 | |
2002 | -from __future__ import absolute_import |
2003 | - |
2004 | from dulwich.index import ( |
2005 | commit_tree, |
2006 | ) |
2007 | |
2008 | === modified file 'breezy/git/config.py' |
2009 | --- breezy/git/config.py 2018-11-11 14:23:06 +0000 |
2010 | +++ breezy/git/config.py 2020-02-18 05:49:35 +0000 |
2011 | @@ -16,8 +16,6 @@ |
2012 | |
2013 | """Config file handling for Git.""" |
2014 | |
2015 | -from __future__ import absolute_import |
2016 | - |
2017 | from .. import ( |
2018 | config, |
2019 | ) |
2020 | |
2021 | === modified file 'breezy/git/dir.py' |
2022 | --- breezy/git/dir.py 2020-02-07 02:14:30 +0000 |
2023 | +++ breezy/git/dir.py 2020-02-18 05:49:35 +0000 |
2024 | @@ -17,8 +17,6 @@ |
2025 | |
2026 | """An adapter between a Git control dir and a Bazaar ControlDir.""" |
2027 | |
2028 | -from __future__ import absolute_import |
2029 | - |
2030 | import contextlib |
2031 | |
2032 | from .. import ( |
2033 | |
2034 | === modified file 'breezy/git/directory.py' |
2035 | --- breezy/git/directory.py 2019-02-09 02:59:15 +0000 |
2036 | +++ breezy/git/directory.py 2020-02-18 05:49:35 +0000 |
2037 | @@ -17,8 +17,6 @@ |
2038 | |
2039 | """Directory service for gitorious.""" |
2040 | |
2041 | -from __future__ import absolute_import |
2042 | - |
2043 | from .. import transport |
2044 | |
2045 | transport.register_urlparse_netloc_protocol('github') |
2046 | |
2047 | === modified file 'breezy/git/errors.py' |
2048 | --- breezy/git/errors.py 2019-11-03 00:17:16 +0000 |
2049 | +++ breezy/git/errors.py 2020-02-18 05:49:35 +0000 |
2050 | @@ -15,11 +15,8 @@ |
2051 | # along with this program; if not, write to the Free Software |
2052 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2053 | |
2054 | - |
2055 | """A grouping of Exceptions for bzr-git""" |
2056 | |
2057 | -from __future__ import absolute_import |
2058 | - |
2059 | from dulwich import errors as git_errors |
2060 | |
2061 | from .. import errors as brz_errors |
2062 | |
2063 | === modified file 'breezy/git/fetch.py' |
2064 | --- breezy/git/fetch.py 2020-02-13 23:57:28 +0000 |
2065 | +++ breezy/git/fetch.py 2020-02-18 05:49:35 +0000 |
2066 | @@ -16,8 +16,6 @@ |
2067 | |
2068 | """Fetching from git into bzr.""" |
2069 | |
2070 | -from __future__ import absolute_import |
2071 | - |
2072 | from dulwich.objects import ( |
2073 | Commit, |
2074 | Tag, |
2075 | |
2076 | === modified file 'breezy/git/filegraph.py' |
2077 | --- breezy/git/filegraph.py 2019-10-20 23:33:25 +0000 |
2078 | +++ breezy/git/filegraph.py 2020-02-18 05:49:35 +0000 |
2079 | @@ -17,8 +17,6 @@ |
2080 | |
2081 | """File graph access.""" |
2082 | |
2083 | -from __future__ import absolute_import |
2084 | - |
2085 | import stat |
2086 | |
2087 | from dulwich.errors import ( |
2088 | |
2089 | === modified file 'breezy/git/git_remote_helper.py' |
2090 | --- breezy/git/git_remote_helper.py 2020-02-07 02:14:30 +0000 |
2091 | +++ breezy/git/git_remote_helper.py 2020-02-18 05:49:35 +0000 |
2092 | @@ -20,8 +20,6 @@ |
2093 | |
2094 | """Remote helper for git for accessing bzr repositories.""" |
2095 | |
2096 | -from __future__ import absolute_import |
2097 | - |
2098 | CAPABILITIES = ["fetch", "option", "push"] |
2099 | |
2100 | import os |
2101 | |
2102 | === modified file 'breezy/git/help.py' |
2103 | --- breezy/git/help.py 2018-03-26 22:28:24 +0000 |
2104 | +++ breezy/git/help.py 2020-02-18 05:49:35 +0000 |
2105 | @@ -16,8 +16,6 @@ |
2106 | |
2107 | """Help information.""" |
2108 | |
2109 | -from __future__ import absolute_import |
2110 | - |
2111 | help_git = """Using Bazaar with Git. |
2112 | |
2113 | The bzr-git plugin provides support for using Bazaar with local and remote |
2114 | |
2115 | === modified file 'breezy/git/hg.py' |
2116 | --- breezy/git/hg.py 2018-11-11 04:08:32 +0000 |
2117 | +++ breezy/git/hg.py 2020-02-18 05:49:35 +0000 |
2118 | @@ -17,8 +17,6 @@ |
2119 | |
2120 | """Compatibility for hg-git.""" |
2121 | |
2122 | -from __future__ import absolute_import |
2123 | - |
2124 | import urllib |
2125 | |
2126 | |
2127 | |
2128 | === modified file 'breezy/git/interrepo.py' |
2129 | --- breezy/git/interrepo.py 2020-02-07 02:14:30 +0000 |
2130 | +++ breezy/git/interrepo.py 2020-02-18 05:49:35 +0000 |
2131 | @@ -16,8 +16,6 @@ |
2132 | |
2133 | """InterRepository operations.""" |
2134 | |
2135 | -from __future__ import absolute_import |
2136 | - |
2137 | from io import BytesIO |
2138 | import itertools |
2139 | |
2140 | |
2141 | === modified file 'breezy/git/mapping.py' |
2142 | --- breezy/git/mapping.py 2020-02-07 02:14:30 +0000 |
2143 | +++ breezy/git/mapping.py 2020-02-18 05:49:35 +0000 |
2144 | @@ -18,8 +18,6 @@ |
2145 | |
2146 | """Converters, etc for going between Bazaar and Git ids.""" |
2147 | |
2148 | -from __future__ import absolute_import |
2149 | - |
2150 | import base64 |
2151 | import stat |
2152 | |
2153 | |
2154 | === modified file 'breezy/git/memorytree.py' |
2155 | --- breezy/git/memorytree.py 2019-06-29 15:50:22 +0000 |
2156 | +++ breezy/git/memorytree.py 2020-02-18 05:49:35 +0000 |
2157 | @@ -17,8 +17,6 @@ |
2158 | |
2159 | """Git Memory Trees.""" |
2160 | |
2161 | -from __future__ import absolute_import |
2162 | - |
2163 | import os |
2164 | import posixpath |
2165 | import stat |
2166 | |
2167 | === modified file 'breezy/git/object_store.py' |
2168 | --- breezy/git/object_store.py 2020-02-13 23:57:28 +0000 |
2169 | +++ breezy/git/object_store.py 2020-02-18 05:49:35 +0000 |
2170 | @@ -17,8 +17,6 @@ |
2171 | |
2172 | """Map from Git sha's to Bazaar objects.""" |
2173 | |
2174 | -from __future__ import absolute_import |
2175 | - |
2176 | from dulwich.objects import ( |
2177 | Blob, |
2178 | Commit, |
2179 | |
2180 | === modified file 'breezy/git/pristine_tar.py' |
2181 | --- breezy/git/pristine_tar.py 2018-11-11 14:23:06 +0000 |
2182 | +++ breezy/git/pristine_tar.py 2020-02-18 05:49:35 +0000 |
2183 | @@ -17,8 +17,6 @@ |
2184 | |
2185 | """Support for pristine tar deltas.""" |
2186 | |
2187 | -from __future__ import absolute_import |
2188 | - |
2189 | from base64 import ( |
2190 | standard_b64decode, |
2191 | ) |
2192 | |
2193 | === modified file 'breezy/git/push.py' |
2194 | --- breezy/git/push.py 2018-11-11 14:23:06 +0000 |
2195 | +++ breezy/git/push.py 2020-02-18 05:49:35 +0000 |
2196 | @@ -16,8 +16,6 @@ |
2197 | |
2198 | """Basic push implementation.""" |
2199 | |
2200 | -from __future__ import absolute_import |
2201 | - |
2202 | from ..push import ( |
2203 | PushResult, |
2204 | ) |
2205 | |
2206 | === modified file 'breezy/git/refs.py' |
2207 | --- breezy/git/refs.py 2018-11-11 14:23:06 +0000 |
2208 | +++ breezy/git/refs.py 2020-02-18 05:49:35 +0000 |
2209 | @@ -16,8 +16,6 @@ |
2210 | |
2211 | """Conversion between refs and Bazaar revision pointers.""" |
2212 | |
2213 | -from __future__ import absolute_import |
2214 | - |
2215 | from dulwich.refs import ( |
2216 | ANNOTATED_TAG_SUFFIX, |
2217 | LOCAL_BRANCH_PREFIX, |
2218 | |
2219 | === modified file 'breezy/git/remote.py' |
2220 | --- breezy/git/remote.py 2020-02-13 23:57:28 +0000 |
2221 | +++ breezy/git/remote.py 2020-02-18 05:49:35 +0000 |
2222 | @@ -16,8 +16,6 @@ |
2223 | |
2224 | """Remote dirs, repositories and branches.""" |
2225 | |
2226 | -from __future__ import absolute_import |
2227 | - |
2228 | import gzip |
2229 | from io import BytesIO |
2230 | import re |
2231 | |
2232 | === modified file 'breezy/git/repository.py' |
2233 | --- breezy/git/repository.py 2020-02-07 02:14:30 +0000 |
2234 | +++ breezy/git/repository.py 2020-02-18 05:49:35 +0000 |
2235 | @@ -17,8 +17,6 @@ |
2236 | |
2237 | """An adapter between a Git Repository and a Bazaar Branch""" |
2238 | |
2239 | -from __future__ import absolute_import |
2240 | - |
2241 | from .. import ( |
2242 | check, |
2243 | errors, |
2244 | |
2245 | === modified file 'breezy/git/revspec.py' |
2246 | --- breezy/git/revspec.py 2019-06-02 05:13:10 +0000 |
2247 | +++ breezy/git/revspec.py 2020-02-18 05:49:35 +0000 |
2248 | @@ -16,8 +16,6 @@ |
2249 | |
2250 | """Custom revision specifier for Subversion.""" |
2251 | |
2252 | -from __future__ import absolute_import |
2253 | - |
2254 | # Please note that imports are delayed as much as possible here since |
2255 | # if DWIM revspecs are supported this module is imported by __init__.py. |
2256 | |
2257 | |
2258 | === modified file 'breezy/git/roundtrip.py' |
2259 | --- breezy/git/roundtrip.py 2019-06-29 15:50:22 +0000 |
2260 | +++ breezy/git/roundtrip.py 2020-02-18 05:49:35 +0000 |
2261 | @@ -45,8 +45,6 @@ |
2262 | * TreeSupplement |
2263 | """ |
2264 | |
2265 | -from __future__ import absolute_import |
2266 | - |
2267 | from .. import osutils |
2268 | |
2269 | from io import BytesIO |
2270 | |
2271 | === modified file 'breezy/git/send.py' |
2272 | --- breezy/git/send.py 2019-10-20 15:03:13 +0000 |
2273 | +++ breezy/git/send.py 2020-02-18 05:49:35 +0000 |
2274 | @@ -20,8 +20,6 @@ |
2275 | |
2276 | """Support in "brz send" for git-am style patches.""" |
2277 | |
2278 | -from __future__ import absolute_import |
2279 | - |
2280 | import time |
2281 | from .. import __version__ as brz_version |
2282 | from .. import ( |
2283 | |
2284 | === modified file 'breezy/git/server.py' |
2285 | --- breezy/git/server.py 2018-11-11 14:23:06 +0000 |
2286 | +++ breezy/git/server.py 2020-02-18 05:49:35 +0000 |
2287 | @@ -16,8 +16,6 @@ |
2288 | # along with this program; if not, write to the Free Software |
2289 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2290 | |
2291 | -from __future__ import absolute_import |
2292 | - |
2293 | from dulwich.server import TCPGitServer |
2294 | |
2295 | import sys |
2296 | |
2297 | === modified file 'breezy/git/tests/__init__.py' |
2298 | --- breezy/git/tests/__init__.py 2020-01-24 00:06:05 +0000 |
2299 | +++ breezy/git/tests/__init__.py 2020-02-18 05:49:35 +0000 |
2300 | @@ -17,8 +17,6 @@ |
2301 | |
2302 | """The basic test suite for bzr-git.""" |
2303 | |
2304 | -from __future__ import absolute_import |
2305 | - |
2306 | from io import BytesIO |
2307 | |
2308 | import time |
2309 | |
2310 | === modified file 'breezy/git/tests/test_blackbox.py' |
2311 | --- breezy/git/tests/test_blackbox.py 2020-01-30 19:30:52 +0000 |
2312 | +++ breezy/git/tests/test_blackbox.py 2020-02-18 05:49:35 +0000 |
2313 | @@ -17,8 +17,6 @@ |
2314 | |
2315 | """Black-box tests for bzr-git.""" |
2316 | |
2317 | -from __future__ import absolute_import |
2318 | - |
2319 | from dulwich.repo import ( |
2320 | Repo as GitRepo, |
2321 | ) |
2322 | |
2323 | === modified file 'breezy/git/tests/test_branch.py' |
2324 | --- breezy/git/tests/test_branch.py 2020-01-24 00:06:05 +0000 |
2325 | +++ breezy/git/tests/test_branch.py 2020-02-18 05:49:35 +0000 |
2326 | @@ -18,8 +18,6 @@ |
2327 | |
2328 | """Tests for interfacing with a Git Branch""" |
2329 | |
2330 | -from __future__ import absolute_import |
2331 | - |
2332 | import dulwich |
2333 | from dulwich.objects import ( |
2334 | Commit, |
2335 | |
2336 | === modified file 'breezy/git/tests/test_builder.py' |
2337 | --- breezy/git/tests/test_builder.py 2018-11-11 04:08:32 +0000 |
2338 | +++ breezy/git/tests/test_builder.py 2020-02-18 05:49:35 +0000 |
2339 | @@ -16,8 +16,6 @@ |
2340 | |
2341 | """Test our ability to build up test repositories""" |
2342 | |
2343 | -from __future__ import absolute_import |
2344 | - |
2345 | from io import BytesIO |
2346 | |
2347 | from dulwich.repo import Repo as GitRepo |
2348 | |
2349 | === modified file 'breezy/git/tests/test_cache.py' |
2350 | --- breezy/git/tests/test_cache.py 2018-11-11 04:08:32 +0000 |
2351 | +++ breezy/git/tests/test_cache.py 2020-02-18 05:49:35 +0000 |
2352 | @@ -16,8 +16,6 @@ |
2353 | |
2354 | """Tests for GitShaMap.""" |
2355 | |
2356 | -from __future__ import absolute_import |
2357 | - |
2358 | from dulwich.objects import ( |
2359 | Blob, |
2360 | Commit, |
2361 | |
2362 | === modified file 'breezy/git/tests/test_dir.py' |
2363 | --- breezy/git/tests/test_dir.py 2019-12-26 13:20:45 +0000 |
2364 | +++ breezy/git/tests/test_dir.py 2020-02-18 05:49:35 +0000 |
2365 | @@ -17,8 +17,6 @@ |
2366 | |
2367 | """Test the GitDir class""" |
2368 | |
2369 | -from __future__ import absolute_import |
2370 | - |
2371 | from dulwich.repo import Repo as GitRepo |
2372 | import os |
2373 | |
2374 | |
2375 | === modified file 'breezy/git/tests/test_fetch.py' |
2376 | --- breezy/git/tests/test_fetch.py 2020-01-24 02:05:10 +0000 |
2377 | +++ breezy/git/tests/test_fetch.py 2020-02-18 05:49:35 +0000 |
2378 | @@ -17,8 +17,6 @@ |
2379 | |
2380 | """Tests from fetching from git into bzr.""" |
2381 | |
2382 | -from __future__ import absolute_import |
2383 | - |
2384 | from dulwich.objects import ( |
2385 | Blob, |
2386 | Tag, |
2387 | |
2388 | === modified file 'breezy/git/tests/test_git_remote_helper.py' |
2389 | --- breezy/git/tests/test_git_remote_helper.py 2020-01-31 17:43:44 +0000 |
2390 | +++ breezy/git/tests/test_git_remote_helper.py 2020-02-18 05:49:35 +0000 |
2391 | @@ -19,8 +19,6 @@ |
2392 | |
2393 | """Tests for the git remote helper.""" |
2394 | |
2395 | -from __future__ import absolute_import |
2396 | - |
2397 | from io import BytesIO |
2398 | import os |
2399 | import subprocess |
2400 | |
2401 | === modified file 'breezy/git/tests/test_mapping.py' |
2402 | --- breezy/git/tests/test_mapping.py 2019-10-28 01:38:39 +0000 |
2403 | +++ breezy/git/tests/test_mapping.py 2020-02-18 05:49:35 +0000 |
2404 | @@ -17,8 +17,6 @@ |
2405 | |
2406 | """Tests for mapping.""" |
2407 | |
2408 | -from __future__ import absolute_import |
2409 | - |
2410 | from ...revision import ( |
2411 | Revision, |
2412 | ) |
2413 | |
2414 | === modified file 'breezy/git/tests/test_object_store.py' |
2415 | --- breezy/git/tests/test_object_store.py 2019-05-28 23:34:07 +0000 |
2416 | +++ breezy/git/tests/test_object_store.py 2020-02-18 05:49:35 +0000 |
2417 | @@ -16,8 +16,6 @@ |
2418 | |
2419 | """Tests for bzr-git's object store.""" |
2420 | |
2421 | -from __future__ import absolute_import |
2422 | - |
2423 | import os |
2424 | import shutil |
2425 | import stat |
2426 | |
2427 | === modified file 'breezy/git/tests/test_pristine_tar.py' |
2428 | --- breezy/git/tests/test_pristine_tar.py 2018-11-11 04:08:32 +0000 |
2429 | +++ breezy/git/tests/test_pristine_tar.py 2020-02-18 05:49:35 +0000 |
2430 | @@ -16,8 +16,6 @@ |
2431 | |
2432 | """Tests for pristine tar extraction code.""" |
2433 | |
2434 | -from __future__ import absolute_import |
2435 | - |
2436 | from base64 import standard_b64encode |
2437 | |
2438 | from ..pristine_tar import ( |
2439 | |
2440 | === modified file 'breezy/git/tests/test_push.py' |
2441 | --- breezy/git/tests/test_push.py 2018-11-11 04:08:32 +0000 |
2442 | +++ breezy/git/tests/test_push.py 2020-02-18 05:49:35 +0000 |
2443 | @@ -17,8 +17,6 @@ |
2444 | |
2445 | """Tests for pushing revisions from Bazaar into Git.""" |
2446 | |
2447 | -from __future__ import absolute_import |
2448 | - |
2449 | from ...controldir import ( |
2450 | format_registry, |
2451 | ) |
2452 | |
2453 | === modified file 'breezy/git/tests/test_refs.py' |
2454 | --- breezy/git/tests/test_refs.py 2018-11-11 04:08:32 +0000 |
2455 | +++ breezy/git/tests/test_refs.py 2020-02-18 05:49:35 +0000 |
2456 | @@ -18,8 +18,6 @@ |
2457 | |
2458 | """Tests for ref handling.""" |
2459 | |
2460 | -from __future__ import absolute_import |
2461 | - |
2462 | from ... import tests |
2463 | |
2464 | from ..object_store import BazaarObjectStore |
2465 | |
2466 | === modified file 'breezy/git/tests/test_remote.py' |
2467 | --- breezy/git/tests/test_remote.py 2020-02-08 18:51:59 +0000 |
2468 | +++ breezy/git/tests/test_remote.py 2020-02-18 05:49:35 +0000 |
2469 | @@ -16,8 +16,6 @@ |
2470 | |
2471 | """Test the smart client.""" |
2472 | |
2473 | -from __future__ import absolute_import |
2474 | - |
2475 | from io import BytesIO |
2476 | |
2477 | import os |
2478 | |
2479 | === modified file 'breezy/git/tests/test_repository.py' |
2480 | --- breezy/git/tests/test_repository.py 2019-06-29 13:16:26 +0000 |
2481 | +++ breezy/git/tests/test_repository.py 2020-02-18 05:49:35 +0000 |
2482 | @@ -17,8 +17,6 @@ |
2483 | |
2484 | """Tests for interfacing with a Git Repository""" |
2485 | |
2486 | -from __future__ import absolute_import |
2487 | - |
2488 | import dulwich |
2489 | from dulwich.repo import ( |
2490 | Repo as GitRepo, |
2491 | |
2492 | === modified file 'breezy/git/tests/test_revspec.py' |
2493 | --- breezy/git/tests/test_revspec.py 2019-02-03 01:42:11 +0000 |
2494 | +++ breezy/git/tests/test_revspec.py 2020-02-18 05:49:35 +0000 |
2495 | @@ -16,8 +16,6 @@ |
2496 | |
2497 | """Test the git revision specifiers.""" |
2498 | |
2499 | -from __future__ import absolute_import |
2500 | - |
2501 | from ...tests import TestCase |
2502 | |
2503 | from ..revspec import ( |
2504 | |
2505 | === modified file 'breezy/git/tests/test_roundtrip.py' |
2506 | --- breezy/git/tests/test_roundtrip.py 2019-06-29 15:50:22 +0000 |
2507 | +++ breezy/git/tests/test_roundtrip.py 2020-02-18 05:49:35 +0000 |
2508 | @@ -18,8 +18,6 @@ |
2509 | |
2510 | """Tests for roundtripping text parsing.""" |
2511 | |
2512 | -from __future__ import absolute_import |
2513 | - |
2514 | from ...tests import TestCase |
2515 | |
2516 | from ..roundtrip import ( |
2517 | |
2518 | === modified file 'breezy/git/tests/test_server.py' |
2519 | --- breezy/git/tests/test_server.py 2018-11-11 04:08:32 +0000 |
2520 | +++ breezy/git/tests/test_server.py 2020-02-18 05:49:35 +0000 |
2521 | @@ -16,8 +16,6 @@ |
2522 | |
2523 | """Test for git server.""" |
2524 | |
2525 | -from __future__ import absolute_import |
2526 | - |
2527 | from dulwich.client import TCPGitClient |
2528 | from dulwich.repo import Repo |
2529 | import threading |
2530 | |
2531 | === modified file 'breezy/git/tests/test_transportgit.py' |
2532 | --- breezy/git/tests/test_transportgit.py 2019-11-03 12:38:45 +0000 |
2533 | +++ breezy/git/tests/test_transportgit.py 2020-02-18 05:49:35 +0000 |
2534 | @@ -16,8 +16,6 @@ |
2535 | |
2536 | """Tests for bzr-git's object store.""" |
2537 | |
2538 | -from __future__ import absolute_import |
2539 | - |
2540 | from dulwich.objects import Blob |
2541 | from dulwich.tests.test_object_store import PackBasedObjectStoreTests |
2542 | from dulwich.tests.utils import make_object |
2543 | |
2544 | === modified file 'breezy/git/tests/test_unpeel_map.py' |
2545 | --- breezy/git/tests/test_unpeel_map.py 2018-11-11 04:08:32 +0000 |
2546 | +++ breezy/git/tests/test_unpeel_map.py 2020-02-18 05:49:35 +0000 |
2547 | @@ -16,8 +16,6 @@ |
2548 | |
2549 | """Tests for the unpeel map.""" |
2550 | |
2551 | -from __future__ import absolute_import |
2552 | - |
2553 | from io import BytesIO |
2554 | |
2555 | from ...tests import ( |
2556 | |
2557 | === modified file 'breezy/git/tests/test_urls.py' |
2558 | --- breezy/git/tests/test_urls.py 2018-11-16 23:19:12 +0000 |
2559 | +++ breezy/git/tests/test_urls.py 2020-02-18 05:49:35 +0000 |
2560 | @@ -16,8 +16,6 @@ |
2561 | |
2562 | """Tests for url handling.""" |
2563 | |
2564 | -from __future__ import absolute_import |
2565 | - |
2566 | from ...tests import TestCase |
2567 | from ..urls import ( |
2568 | git_url_to_bzr_url, |
2569 | |
2570 | === modified file 'breezy/git/tests/test_workingtree.py' |
2571 | --- breezy/git/tests/test_workingtree.py 2020-01-19 15:14:16 +0000 |
2572 | +++ breezy/git/tests/test_workingtree.py 2020-02-18 05:49:35 +0000 |
2573 | @@ -17,8 +17,6 @@ |
2574 | |
2575 | """Tests for Git working trees.""" |
2576 | |
2577 | -from __future__ import absolute_import |
2578 | - |
2579 | import os |
2580 | import stat |
2581 | |
2582 | |
2583 | === modified file 'breezy/git/transportgit.py' |
2584 | --- breezy/git/transportgit.py 2019-12-26 13:20:45 +0000 |
2585 | +++ breezy/git/transportgit.py 2020-02-18 05:49:35 +0000 |
2586 | @@ -16,8 +16,6 @@ |
2587 | |
2588 | """A Git repository implementation that uses a Bazaar transport.""" |
2589 | |
2590 | -from __future__ import absolute_import |
2591 | - |
2592 | from io import BytesIO |
2593 | |
2594 | import os |
2595 | |
2596 | === modified file 'breezy/git/tree.py' |
2597 | --- breezy/git/tree.py 2020-02-13 23:57:28 +0000 |
2598 | +++ breezy/git/tree.py 2020-02-18 05:49:35 +0000 |
2599 | @@ -17,8 +17,6 @@ |
2600 | |
2601 | """Git Trees.""" |
2602 | |
2603 | -from __future__ import absolute_import |
2604 | - |
2605 | from collections import deque |
2606 | import errno |
2607 | from io import BytesIO |
2608 | |
2609 | === modified file 'breezy/git/unpeel_map.py' |
2610 | --- breezy/git/unpeel_map.py 2019-06-29 19:54:32 +0000 |
2611 | +++ breezy/git/unpeel_map.py 2020-02-18 05:49:35 +0000 |
2612 | @@ -16,7 +16,6 @@ |
2613 | |
2614 | """Unpeel map storage.""" |
2615 | |
2616 | -from __future__ import absolute_import |
2617 | |
2618 | from collections import defaultdict |
2619 | from io import BytesIO |
2620 | |
2621 | === modified file 'breezy/git/urls.py' |
2622 | --- breezy/git/urls.py 2018-11-16 23:19:12 +0000 |
2623 | +++ breezy/git/urls.py 2020-02-18 05:49:35 +0000 |
2624 | @@ -16,7 +16,6 @@ |
2625 | |
2626 | """URL Conversion.""" |
2627 | |
2628 | -from __future__ import absolute_import |
2629 | |
2630 | from .. import urlutils |
2631 | from .refs import ( |
2632 | |
2633 | === modified file 'breezy/git/workingtree.py' |
2634 | --- breezy/git/workingtree.py 2020-02-07 02:14:30 +0000 |
2635 | +++ breezy/git/workingtree.py 2020-02-18 05:49:35 +0000 |
2636 | @@ -17,8 +17,6 @@ |
2637 | |
2638 | """An adapter between a Git index and a Bazaar Working Tree""" |
2639 | |
2640 | -from __future__ import absolute_import |
2641 | - |
2642 | import itertools |
2643 | from collections import defaultdict |
2644 | import errno |
2645 | |
2646 | === modified file 'breezy/globbing.py' |
2647 | --- breezy/globbing.py 2019-02-15 17:41:17 +0000 |
2648 | +++ breezy/globbing.py 2020-02-18 05:49:35 +0000 |
2649 | @@ -20,8 +20,6 @@ |
2650 | expressions. |
2651 | """ |
2652 | |
2653 | -from __future__ import absolute_import |
2654 | - |
2655 | import re |
2656 | |
2657 | from . import ( |
2658 | |
2659 | === modified file 'breezy/gpg.py' |
2660 | --- breezy/gpg.py 2020-02-07 02:14:30 +0000 |
2661 | +++ breezy/gpg.py 2020-02-18 05:49:35 +0000 |
2662 | @@ -17,8 +17,6 @@ |
2663 | |
2664 | """GPG signing and checking logic.""" |
2665 | |
2666 | -from __future__ import absolute_import |
2667 | - |
2668 | import os |
2669 | |
2670 | from breezy.lazy_import import lazy_import |
2671 | |
2672 | === modified file 'breezy/graph.py' |
2673 | --- breezy/graph.py 2020-02-07 02:14:30 +0000 |
2674 | +++ breezy/graph.py 2020-02-18 05:49:35 +0000 |
2675 | @@ -14,8 +14,6 @@ |
2676 | # along with this program; if not, write to the Free Software |
2677 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2678 | |
2679 | -from __future__ import absolute_import |
2680 | - |
2681 | import time |
2682 | |
2683 | from . import ( |
2684 | |
2685 | === modified file 'breezy/grep.py' |
2686 | --- breezy/grep.py 2020-02-07 02:14:30 +0000 |
2687 | +++ breezy/grep.py 2020-02-18 05:49:35 +0000 |
2688 | @@ -14,8 +14,6 @@ |
2689 | # along with this program; if not, write to the Free Software |
2690 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2691 | |
2692 | -from __future__ import absolute_import |
2693 | - |
2694 | from io import BytesIO |
2695 | import re |
2696 | |
2697 | |
2698 | === modified file 'breezy/hashcache.py' |
2699 | --- breezy/hashcache.py 2020-02-07 02:14:30 +0000 |
2700 | +++ breezy/hashcache.py 2020-02-18 05:49:35 +0000 |
2701 | @@ -14,8 +14,6 @@ |
2702 | # along with this program; if not, write to the Free Software |
2703 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2704 | |
2705 | -from __future__ import absolute_import |
2706 | - |
2707 | # TODO: Up-front, stat all files in order and remove those which are deleted or |
2708 | # out-of-date. Don't actually re-read them until they're needed. That ought |
2709 | # to bring all the inodes into core so that future stats to them are fast, and |
2710 | |
2711 | === modified file 'breezy/help.py' |
2712 | --- breezy/help.py 2018-11-11 04:08:32 +0000 |
2713 | +++ breezy/help.py 2020-02-18 05:49:35 +0000 |
2714 | @@ -14,8 +14,6 @@ |
2715 | # along with this program; if not, write to the Free Software |
2716 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2717 | |
2718 | -from __future__ import absolute_import |
2719 | - |
2720 | # TODO: Some way to get a list of external commands (defined by shell |
2721 | # scripts) so that they can be included in the help listing as well. |
2722 | # It should be enough to just list the plugin directory and look for |
2723 | |
2724 | === modified file 'breezy/help_topics/__init__.py' |
2725 | --- breezy/help_topics/__init__.py 2019-09-01 15:33:59 +0000 |
2726 | +++ breezy/help_topics/__init__.py 2020-02-18 05:49:35 +0000 |
2727 | @@ -33,8 +33,6 @@ |
2728 | rendering on the screen naturally. |
2729 | """ |
2730 | |
2731 | -from __future__ import absolute_import |
2732 | - |
2733 | import breezy |
2734 | from breezy import ( |
2735 | config, |
2736 | |
2737 | === modified file 'breezy/hooks.py' |
2738 | --- breezy/hooks.py 2018-11-11 04:08:32 +0000 |
2739 | +++ breezy/hooks.py 2020-02-18 05:49:35 +0000 |
2740 | @@ -16,8 +16,6 @@ |
2741 | |
2742 | """Support for plugin hooking logic.""" |
2743 | |
2744 | -from __future__ import absolute_import |
2745 | - |
2746 | from . import ( |
2747 | errors, |
2748 | registry, |
2749 | |
2750 | === modified file 'breezy/i18n.py' |
2751 | --- breezy/i18n.py 2020-02-07 02:14:30 +0000 |
2752 | +++ breezy/i18n.py 2020-02-18 05:49:35 +0000 |
2753 | @@ -22,8 +22,6 @@ |
2754 | |
2755 | """i18n and l10n support for Bazaar.""" |
2756 | |
2757 | -from __future__ import absolute_import |
2758 | - |
2759 | import gettext as _gettext |
2760 | import os |
2761 | import sys |
2762 | |
2763 | === modified file 'breezy/identitymap.py' |
2764 | --- breezy/identitymap.py 2017-05-22 00:56:52 +0000 |
2765 | +++ breezy/identitymap.py 2020-02-18 05:49:35 +0000 |
2766 | @@ -17,8 +17,6 @@ |
2767 | |
2768 | """This module provides an IdentityMap.""" |
2769 | |
2770 | -from __future__ import absolute_import |
2771 | - |
2772 | from . import ( |
2773 | errors, |
2774 | ) |
2775 | |
2776 | === modified file 'breezy/ignores.py' |
2777 | --- breezy/ignores.py 2020-01-11 17:41:33 +0000 |
2778 | +++ breezy/ignores.py 2020-02-18 05:49:35 +0000 |
2779 | @@ -16,8 +16,6 @@ |
2780 | |
2781 | """Lists of ignore files, etc.""" |
2782 | |
2783 | -from __future__ import absolute_import |
2784 | - |
2785 | import errno |
2786 | from io import BytesIO |
2787 | import os |
2788 | |
2789 | === modified file 'breezy/info.py' |
2790 | --- breezy/info.py 2019-11-19 18:10:28 +0000 |
2791 | +++ breezy/info.py 2020-02-18 05:49:35 +0000 |
2792 | @@ -14,8 +14,6 @@ |
2793 | # along with this program; if not, write to the Free Software |
2794 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2795 | |
2796 | -from __future__ import absolute_import |
2797 | - |
2798 | __all__ = ['show_bzrdir_info'] |
2799 | |
2800 | from io import StringIO |
2801 | |
2802 | === modified file 'breezy/inter.py' |
2803 | --- breezy/inter.py 2017-08-29 13:25:07 +0000 |
2804 | +++ breezy/inter.py 2020-02-18 05:49:35 +0000 |
2805 | @@ -16,8 +16,6 @@ |
2806 | |
2807 | """Inter-object utility class.""" |
2808 | |
2809 | -from __future__ import absolute_import |
2810 | - |
2811 | from .errors import BzrError |
2812 | from .lock import LogicalLockResult |
2813 | |
2814 | |
2815 | === removed file 'breezy/intset.py' |
2816 | === modified file 'breezy/iterablefile.py' |
2817 | --- breezy/iterablefile.py 2020-02-07 02:14:30 +0000 |
2818 | +++ breezy/iterablefile.py 2020-02-18 05:49:35 +0000 |
2819 | @@ -15,8 +15,6 @@ |
2820 | # along with this program; if not, write to the Free Software |
2821 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2822 | |
2823 | -from __future__ import absolute_import |
2824 | - |
2825 | |
2826 | class IterableFileBase(object): |
2827 | """Create a file-like object from any iterable""" |
2828 | |
2829 | === modified file 'breezy/lazy_import.py' |
2830 | --- breezy/lazy_import.py 2020-01-11 17:41:33 +0000 |
2831 | +++ breezy/lazy_import.py 2020-02-18 05:49:35 +0000 |
2832 | @@ -41,8 +41,6 @@ |
2833 | to inherit from them). |
2834 | """ |
2835 | |
2836 | -from __future__ import absolute_import |
2837 | - |
2838 | from .errors import BzrError, InternalBzrError |
2839 | |
2840 | |
2841 | |
2842 | === modified file 'breezy/lazy_regex.py' |
2843 | --- breezy/lazy_regex.py 2018-11-16 19:09:31 +0000 |
2844 | +++ breezy/lazy_regex.py 2020-02-18 05:49:35 +0000 |
2845 | @@ -24,8 +24,6 @@ |
2846 | be used by existing Python modules that create regexs. |
2847 | """ |
2848 | |
2849 | -from __future__ import absolute_import |
2850 | - |
2851 | import re |
2852 | |
2853 | from . import errors |
2854 | |
2855 | === modified file 'breezy/library_state.py' |
2856 | --- breezy/library_state.py 2020-02-07 02:14:30 +0000 |
2857 | +++ breezy/library_state.py 2020-02-18 05:49:35 +0000 |
2858 | @@ -16,8 +16,6 @@ |
2859 | |
2860 | """The core state needed to make use of bzr is managed here.""" |
2861 | |
2862 | -from __future__ import absolute_import |
2863 | - |
2864 | __all__ = [ |
2865 | 'BzrLibraryState', |
2866 | ] |
2867 | |
2868 | === modified file 'breezy/location.py' |
2869 | --- breezy/location.py 2020-02-07 02:14:30 +0000 |
2870 | +++ breezy/location.py 2020-02-18 05:49:35 +0000 |
2871 | @@ -17,8 +17,6 @@ |
2872 | |
2873 | """UI location string handling.""" |
2874 | |
2875 | -from __future__ import absolute_import |
2876 | - |
2877 | import re |
2878 | |
2879 | from . import ( |
2880 | |
2881 | === modified file 'breezy/lock.py' |
2882 | --- breezy/lock.py 2019-06-16 15:37:44 +0000 |
2883 | +++ breezy/lock.py 2020-02-18 05:49:35 +0000 |
2884 | @@ -33,8 +33,6 @@ |
2885 | unlock() method. |
2886 | """ |
2887 | |
2888 | -from __future__ import absolute_import |
2889 | - |
2890 | import contextlib |
2891 | import errno |
2892 | import os |
2893 | |
2894 | === modified file 'breezy/lockable_files.py' |
2895 | --- breezy/lockable_files.py 2020-01-11 17:41:33 +0000 |
2896 | +++ breezy/lockable_files.py 2020-02-18 05:49:35 +0000 |
2897 | @@ -14,8 +14,6 @@ |
2898 | # along with this program; if not, write to the Free Software |
2899 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2900 | |
2901 | -from __future__ import absolute_import |
2902 | - |
2903 | from .lazy_import import lazy_import |
2904 | lazy_import(globals(), """ |
2905 | from breezy import ( |
2906 | |
2907 | === modified file 'breezy/lockdir.py' |
2908 | --- breezy/lockdir.py 2020-02-07 02:14:30 +0000 |
2909 | +++ breezy/lockdir.py 2020-02-18 05:49:35 +0000 |
2910 | @@ -98,8 +98,6 @@ |
2911 | but helps protect against colliding host names. |
2912 | """ |
2913 | |
2914 | -from __future__ import absolute_import |
2915 | - |
2916 | |
2917 | # TODO: We sometimes have the problem that our attempt to rename '1234' to |
2918 | # 'held' fails because the transport server moves into an existing directory, |
2919 | |
2920 | === modified file 'breezy/log.py' |
2921 | --- breezy/log.py 2020-02-13 23:57:28 +0000 |
2922 | +++ breezy/log.py 2020-02-18 05:49:35 +0000 |
2923 | @@ -47,8 +47,6 @@ |
2924 | all the changes since the previous revision that touched hello.c. |
2925 | """ |
2926 | |
2927 | -from __future__ import absolute_import |
2928 | - |
2929 | import codecs |
2930 | from io import BytesIO |
2931 | import itertools |
2932 | |
2933 | === modified file 'breezy/lru_cache.py' |
2934 | --- breezy/lru_cache.py 2020-02-07 02:14:30 +0000 |
2935 | +++ breezy/lru_cache.py 2020-02-18 05:49:35 +0000 |
2936 | @@ -16,8 +16,6 @@ |
2937 | |
2938 | """A simple least-recently-used (LRU) cache.""" |
2939 | |
2940 | -from __future__ import absolute_import, division |
2941 | - |
2942 | from . import ( |
2943 | trace, |
2944 | ) |
2945 | |
2946 | === modified file 'breezy/lsprof.py' |
2947 | --- breezy/lsprof.py 2020-02-07 02:14:30 +0000 |
2948 | +++ breezy/lsprof.py 2020-02-18 05:49:35 +0000 |
2949 | @@ -3,8 +3,6 @@ |
2950 | # I made one modification to profile so that it returns a pair |
2951 | # instead of just the Stats object |
2952 | |
2953 | -from __future__ import absolute_import |
2954 | - |
2955 | import codecs |
2956 | try: |
2957 | import cPickle as pickle |
2958 | |
2959 | === modified file 'breezy/mail_client.py' |
2960 | --- breezy/mail_client.py 2020-02-07 02:14:30 +0000 |
2961 | +++ breezy/mail_client.py 2020-02-18 05:49:35 +0000 |
2962 | @@ -14,8 +14,6 @@ |
2963 | # along with this program; if not, write to the Free Software |
2964 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2965 | |
2966 | -from __future__ import absolute_import |
2967 | - |
2968 | import errno |
2969 | import os |
2970 | import subprocess |
2971 | |
2972 | === modified file 'breezy/memorytree.py' |
2973 | --- breezy/memorytree.py 2019-10-14 00:25:24 +0000 |
2974 | +++ breezy/memorytree.py 2020-02-18 05:49:35 +0000 |
2975 | @@ -19,8 +19,6 @@ |
2976 | See MemoryTree for more details. |
2977 | """ |
2978 | |
2979 | -from __future__ import absolute_import |
2980 | - |
2981 | import os |
2982 | import stat |
2983 | |
2984 | |
2985 | === modified file 'breezy/merge.py' |
2986 | --- breezy/merge.py 2020-02-07 02:14:30 +0000 |
2987 | +++ breezy/merge.py 2020-02-18 05:49:35 +0000 |
2988 | @@ -14,8 +14,6 @@ |
2989 | # along with this program; if not, write to the Free Software |
2990 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
2991 | |
2992 | -from __future__ import absolute_import |
2993 | - |
2994 | import contextlib |
2995 | |
2996 | from .lazy_import import lazy_import |
2997 | |
2998 | === modified file 'breezy/merge3.py' |
2999 | --- breezy/merge3.py 2019-03-02 21:46:18 +0000 |
3000 | +++ breezy/merge3.py 2020-02-18 05:49:35 +0000 |
3001 | @@ -14,8 +14,6 @@ |
3002 | # along with this program; if not, write to the Free Software |
3003 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3004 | |
3005 | -from __future__ import absolute_import |
3006 | - |
3007 | # mbp: "you know that thing where cvs gives you conflict markers?" |
3008 | # s: "i hate that." |
3009 | |
3010 | |
3011 | === modified file 'breezy/merge_directive.py' |
3012 | --- breezy/merge_directive.py 2020-02-07 02:14:30 +0000 |
3013 | +++ breezy/merge_directive.py 2020-02-18 05:49:35 +0000 |
3014 | @@ -14,8 +14,6 @@ |
3015 | # along with this program; if not, write to the Free Software |
3016 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3017 | |
3018 | -from __future__ import absolute_import |
3019 | - |
3020 | import base64 |
3021 | import contextlib |
3022 | from io import BytesIO |
3023 | |
3024 | === modified file 'breezy/mergeable.py' |
3025 | --- breezy/mergeable.py 2020-02-07 02:14:30 +0000 |
3026 | +++ breezy/mergeable.py 2020-02-18 05:49:35 +0000 |
3027 | @@ -14,8 +14,6 @@ |
3028 | # along with this program; if not, write to the Free Software |
3029 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3030 | |
3031 | -from __future__ import absolute_import |
3032 | - |
3033 | from io import BytesIO |
3034 | |
3035 | from .lazy_import import lazy_import |
3036 | |
3037 | === modified file 'breezy/mergetools.py' |
3038 | --- breezy/mergetools.py 2018-11-12 01:41:38 +0000 |
3039 | +++ breezy/mergetools.py 2020-02-18 05:49:35 +0000 |
3040 | @@ -16,8 +16,6 @@ |
3041 | |
3042 | """Utility functions for managing external merge tools such as kdiff3.""" |
3043 | |
3044 | -from __future__ import absolute_import |
3045 | - |
3046 | import os |
3047 | import shutil |
3048 | import subprocess |
3049 | |
3050 | === modified file 'breezy/missing.py' |
3051 | --- breezy/missing.py 2019-06-26 20:58:23 +0000 |
3052 | +++ breezy/missing.py 2020-02-18 05:49:35 +0000 |
3053 | @@ -16,8 +16,6 @@ |
3054 | |
3055 | """Display what revisions are missing in 'other' from 'this' and vice versa.""" |
3056 | |
3057 | -from __future__ import absolute_import |
3058 | - |
3059 | from . import ( |
3060 | errors, |
3061 | log, |
3062 | |
3063 | === modified file 'breezy/msgeditor.py' |
3064 | --- breezy/msgeditor.py 2020-02-07 02:14:30 +0000 |
3065 | +++ breezy/msgeditor.py 2020-02-18 05:49:35 +0000 |
3066 | @@ -16,8 +16,6 @@ |
3067 | |
3068 | """Commit message editor support.""" |
3069 | |
3070 | -from __future__ import absolute_import |
3071 | - |
3072 | import codecs |
3073 | from io import ( |
3074 | BytesIO, |
3075 | |
3076 | === modified file 'breezy/multiparent.py' |
3077 | --- breezy/multiparent.py 2020-02-07 02:14:30 +0000 |
3078 | +++ breezy/multiparent.py 2020-02-18 05:49:35 +0000 |
3079 | @@ -14,8 +14,6 @@ |
3080 | # along with this program; if not, write to the Free Software |
3081 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3082 | |
3083 | -from __future__ import absolute_import |
3084 | - |
3085 | import errno |
3086 | from io import ( |
3087 | BytesIO, |
3088 | |
3089 | === modified file 'breezy/multiwalker.py' |
3090 | --- breezy/multiwalker.py 2020-02-07 02:14:30 +0000 |
3091 | +++ breezy/multiwalker.py 2020-02-18 05:49:35 +0000 |
3092 | @@ -17,8 +17,6 @@ |
3093 | """Walk multiple trees simultaneously. |
3094 | """ |
3095 | |
3096 | -from __future__ import absolute_import |
3097 | - |
3098 | from . import ( |
3099 | errors, |
3100 | osutils, |
3101 | |
3102 | === modified file 'breezy/mutabletree.py' |
3103 | --- breezy/mutabletree.py 2020-02-07 02:14:30 +0000 |
3104 | +++ breezy/mutabletree.py 2020-02-18 05:49:35 +0000 |
3105 | @@ -19,8 +19,6 @@ |
3106 | See MutableTree for more details. |
3107 | """ |
3108 | |
3109 | -from __future__ import absolute_import |
3110 | - |
3111 | from . import ( |
3112 | errors, |
3113 | hooks, |
3114 | |
3115 | === modified file 'breezy/option.py' |
3116 | --- breezy/option.py 2020-02-07 02:14:30 +0000 |
3117 | +++ breezy/option.py 2020-02-18 05:49:35 +0000 |
3118 | @@ -17,8 +17,6 @@ |
3119 | # TODO: For things like --diff-prefix, we want a way to customize the display |
3120 | # of the option argument. |
3121 | |
3122 | -from __future__ import absolute_import |
3123 | - |
3124 | import optparse |
3125 | import re |
3126 | |
3127 | |
3128 | === modified file 'breezy/osutils.py' |
3129 | --- breezy/osutils.py 2020-02-07 02:14:30 +0000 |
3130 | +++ breezy/osutils.py 2020-02-18 05:49:35 +0000 |
3131 | @@ -14,8 +14,6 @@ |
3132 | # along with this program; if not, write to the Free Software |
3133 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3134 | |
3135 | -from __future__ import absolute_import |
3136 | - |
3137 | import errno |
3138 | import os |
3139 | import re |
3140 | |
3141 | === modified file 'breezy/patch.py' |
3142 | --- breezy/patch.py 2019-12-22 12:06:17 +0000 |
3143 | +++ breezy/patch.py 2020-02-18 05:49:35 +0000 |
3144 | @@ -15,8 +15,6 @@ |
3145 | # along with this program; if not, write to the Free Software |
3146 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3147 | |
3148 | -from __future__ import absolute_import |
3149 | - |
3150 | """Diff and patch functionality""" |
3151 | |
3152 | import errno |
3153 | |
3154 | === modified file 'breezy/patches.py' |
3155 | --- breezy/patches.py 2019-12-28 14:10:36 +0000 |
3156 | +++ breezy/patches.py 2020-02-18 05:49:35 +0000 |
3157 | @@ -15,8 +15,6 @@ |
3158 | # along with this program; if not, write to the Free Software |
3159 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3160 | |
3161 | -from __future__ import absolute_import |
3162 | - |
3163 | from .errors import ( |
3164 | BzrError, |
3165 | ) |
3166 | |
3167 | === modified file 'breezy/plugin.py' |
3168 | --- breezy/plugin.py 2020-02-07 02:14:30 +0000 |
3169 | +++ breezy/plugin.py 2020-02-18 05:49:35 +0000 |
3170 | @@ -34,8 +34,6 @@ |
3171 | plugins. |
3172 | """ |
3173 | |
3174 | -from __future__ import absolute_import |
3175 | - |
3176 | import os |
3177 | import re |
3178 | import sys |
3179 | |
3180 | === modified file 'breezy/plugins/__init__.py' |
3181 | --- breezy/plugins/__init__.py 2017-06-02 23:43:00 +0000 |
3182 | +++ breezy/plugins/__init__.py 2020-02-18 05:49:35 +0000 |
3183 | @@ -16,8 +16,6 @@ |
3184 | |
3185 | """Pseudo-namespace package for breezy plugins.""" |
3186 | |
3187 | -from __future__ import absolute_import |
3188 | - |
3189 | from breezy.plugin import extend_path |
3190 | |
3191 | __path__ = extend_path(__path__, __name__) |
3192 | |
3193 | === modified file 'breezy/plugins/bash_completion/__init__.py' |
3194 | --- breezy/plugins/bash_completion/__init__.py 2018-11-11 04:08:32 +0000 |
3195 | +++ breezy/plugins/bash_completion/__init__.py 2020-02-18 05:49:35 +0000 |
3196 | @@ -14,8 +14,6 @@ |
3197 | # along with this program; if not, write to the Free Software |
3198 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3199 | |
3200 | -from __future__ import absolute_import |
3201 | - |
3202 | __doc__ = """Generate a shell function for bash command line completion. |
3203 | |
3204 | This plugin provides a command called bash-completion that generates a |
3205 | |
3206 | === modified file 'breezy/plugins/bash_completion/bashcomp.py' |
3207 | --- breezy/plugins/bash_completion/bashcomp.py 2020-02-07 02:14:30 +0000 |
3208 | +++ breezy/plugins/bash_completion/bashcomp.py 2020-02-18 05:49:35 +0000 |
3209 | @@ -16,8 +16,6 @@ |
3210 | # along with this program; if not, write to the Free Software |
3211 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3212 | |
3213 | -from __future__ import absolute_import |
3214 | - |
3215 | from ... import ( |
3216 | cmdline, |
3217 | commands, |
3218 | |
3219 | === modified file 'breezy/plugins/changelog_merge/__init__.py' |
3220 | --- breezy/plugins/changelog_merge/__init__.py 2018-11-11 04:08:32 +0000 |
3221 | +++ breezy/plugins/changelog_merge/__init__.py 2020-02-18 05:49:35 +0000 |
3222 | @@ -14,8 +14,6 @@ |
3223 | # along with this program; if not, write to the Free Software |
3224 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3225 | |
3226 | -from __future__ import absolute_import |
3227 | - |
3228 | __doc__ = """Merge hook for GNU-format ChangeLog files |
3229 | |
3230 | To enable this plugin, add a section to your locations.conf |
3231 | |
3232 | === modified file 'breezy/plugins/changelog_merge/changelog_merge.py' |
3233 | --- breezy/plugins/changelog_merge/changelog_merge.py 2018-11-11 04:08:32 +0000 |
3234 | +++ breezy/plugins/changelog_merge/changelog_merge.py 2020-02-18 05:49:35 +0000 |
3235 | @@ -16,8 +16,6 @@ |
3236 | |
3237 | """Merge logic for changelog_merge plugin.""" |
3238 | |
3239 | -from __future__ import absolute_import |
3240 | - |
3241 | import difflib |
3242 | |
3243 | from ... import ( |
3244 | |
3245 | === modified file 'breezy/plugins/commitfromnews/__init__.py' |
3246 | --- breezy/plugins/commitfromnews/__init__.py 2019-10-13 16:49:05 +0000 |
3247 | +++ breezy/plugins/commitfromnews/__init__.py 2020-02-18 05:49:35 +0000 |
3248 | @@ -33,8 +33,6 @@ |
3249 | including sections from a NEWS or ChangeLog file. |
3250 | """ |
3251 | |
3252 | -from __future__ import absolute_import |
3253 | - |
3254 | from ... import version_info # noqa: F401 |
3255 | from ... import hooks |
3256 | from ...config import ( |
3257 | |
3258 | === modified file 'breezy/plugins/commitfromnews/committemplate.py' |
3259 | --- breezy/plugins/commitfromnews/committemplate.py 2019-03-02 21:46:18 +0000 |
3260 | +++ breezy/plugins/commitfromnews/committemplate.py 2020-02-18 05:49:35 +0000 |
3261 | @@ -16,8 +16,6 @@ |
3262 | |
3263 | """Logic to create commit templates.""" |
3264 | |
3265 | -from __future__ import absolute_import |
3266 | - |
3267 | import patiencediff |
3268 | |
3269 | from ... import bugtracker, osutils |
3270 | |
3271 | === modified file 'breezy/plugins/commitfromnews/tests/__init__.py' |
3272 | --- breezy/plugins/commitfromnews/tests/__init__.py 2019-10-27 18:22:53 +0000 |
3273 | +++ breezy/plugins/commitfromnews/tests/__init__.py 2020-02-18 05:49:35 +0000 |
3274 | @@ -16,8 +16,6 @@ |
3275 | |
3276 | """Tests for commitfromnews.""" |
3277 | |
3278 | -from __future__ import absolute_import |
3279 | - |
3280 | |
3281 | def load_tests(loader, basic_tests, pattern): |
3282 | testmod_names = [ |
3283 | |
3284 | === modified file 'breezy/plugins/commitfromnews/tests/test_committemplate.py' |
3285 | --- breezy/plugins/commitfromnews/tests/test_committemplate.py 2018-11-11 04:08:32 +0000 |
3286 | +++ breezy/plugins/commitfromnews/tests/test_committemplate.py 2020-02-18 05:49:35 +0000 |
3287 | @@ -16,8 +16,6 @@ |
3288 | |
3289 | """Tests for the commit template creation.""" |
3290 | |
3291 | -from __future__ import absolute_import |
3292 | - |
3293 | from ... import commitfromnews |
3294 | from .... import ( |
3295 | config, |
3296 | |
3297 | === modified file 'breezy/plugins/commitfromnews/tests/test_msgeditor.py' |
3298 | --- breezy/plugins/commitfromnews/tests/test_msgeditor.py 2017-06-13 00:17:21 +0000 |
3299 | +++ breezy/plugins/commitfromnews/tests/test_msgeditor.py 2020-02-18 05:49:35 +0000 |
3300 | @@ -16,8 +16,6 @@ |
3301 | |
3302 | """Tests for msg editor interactions..""" |
3303 | |
3304 | -from __future__ import absolute_import |
3305 | - |
3306 | from ... import commitfromnews |
3307 | from .... import msgeditor |
3308 | from ....tests import TestCaseWithTransport |
3309 | |
3310 | === modified file 'breezy/plugins/cvs/__init__.py' |
3311 | --- breezy/plugins/cvs/__init__.py 2019-12-22 13:21:36 +0000 |
3312 | +++ breezy/plugins/cvs/__init__.py 2020-02-18 05:49:35 +0000 |
3313 | @@ -19,8 +19,6 @@ |
3314 | Currently limited to referencing tools for migration. |
3315 | """ |
3316 | |
3317 | -from __future__ import absolute_import |
3318 | - |
3319 | from ... import version_info # noqa: F401 |
3320 | |
3321 | from ... import ( |
3322 | |
3323 | === modified file 'breezy/plugins/darcs/__init__.py' |
3324 | --- breezy/plugins/darcs/__init__.py 2019-11-06 01:31:41 +0000 |
3325 | +++ breezy/plugins/darcs/__init__.py 2020-02-18 05:49:35 +0000 |
3326 | @@ -19,8 +19,6 @@ |
3327 | Currently only tells the user to use fastimport/fastexport. |
3328 | """ |
3329 | |
3330 | -from __future__ import absolute_import |
3331 | - |
3332 | from ... import version_info # noqa: F401 |
3333 | from breezy import ( |
3334 | controldir, |
3335 | |
3336 | === modified file 'breezy/plugins/email/__init__.py' |
3337 | --- breezy/plugins/email/__init__.py 2019-10-13 16:49:05 +0000 |
3338 | +++ breezy/plugins/email/__init__.py 2020-02-18 05:49:35 +0000 |
3339 | @@ -64,8 +64,6 @@ |
3340 | revision_mail_headers=X-Cheese: to the rescue! |
3341 | """ |
3342 | |
3343 | -from __future__ import absolute_import |
3344 | - |
3345 | from ... import version_info # noqa: F401 |
3346 | from ...config import option_registry |
3347 | |
3348 | |
3349 | === modified file 'breezy/plugins/email/emailer.py' |
3350 | --- breezy/plugins/email/emailer.py 2020-02-07 02:14:30 +0000 |
3351 | +++ breezy/plugins/email/emailer.py 2020-02-18 05:49:35 +0000 |
3352 | @@ -14,8 +14,6 @@ |
3353 | # along with this program; if not, write to the Free Software |
3354 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
3355 | |
3356 | -from __future__ import absolute_import |
3357 | - |
3358 | import subprocess |
3359 | import tempfile |
3360 | |
3361 | |
3362 | === modified file 'breezy/plugins/fastimport/__init__.py' |
3363 | --- breezy/plugins/fastimport/__init__.py 2019-10-13 16:49:05 +0000 |
3364 | +++ breezy/plugins/fastimport/__init__.py 2020-02-18 05:49:35 +0000 |
3365 | @@ -54,8 +54,6 @@ |
3366 | page on Launchpad, https://launchpad.net/bzr-fastimport. |
3367 | """ |
3368 | |
3369 | -from __future__ import absolute_import |
3370 | - |
3371 | from ... import version_info # noqa: F401 |
3372 | from ...commands import plugin_cmds |
3373 | |
3374 | |
3375 | === modified file 'breezy/plugins/fastimport/branch_mapper.py' |
3376 | --- breezy/plugins/fastimport/branch_mapper.py 2018-07-03 23:54:50 +0000 |
3377 | +++ breezy/plugins/fastimport/branch_mapper.py 2020-02-18 05:49:35 +0000 |
3378 | @@ -16,8 +16,6 @@ |
3379 | """An object that maps git ref names to bzr branch names. Note that it is not |
3380 | used to map git ref names to bzr tag names.""" |
3381 | |
3382 | -from __future__ import absolute_import |
3383 | - |
3384 | import re |
3385 | |
3386 | |
3387 | |
3388 | === modified file 'breezy/plugins/fastimport/branch_updater.py' |
3389 | --- breezy/plugins/fastimport/branch_updater.py 2018-11-11 04:08:32 +0000 |
3390 | +++ breezy/plugins/fastimport/branch_updater.py 2020-02-18 05:49:35 +0000 |
3391 | @@ -15,8 +15,6 @@ |
3392 | |
3393 | """An object that updates a bunch of branches based on data imported.""" |
3394 | |
3395 | -from __future__ import absolute_import |
3396 | - |
3397 | from operator import itemgetter |
3398 | |
3399 | from ... import errors, osutils, transport |
3400 | |
3401 | === modified file 'breezy/plugins/fastimport/bzr_commit_handler.py' |
3402 | --- breezy/plugins/fastimport/bzr_commit_handler.py 2019-09-22 13:03:16 +0000 |
3403 | +++ breezy/plugins/fastimport/bzr_commit_handler.py 2020-02-18 05:49:35 +0000 |
3404 | @@ -15,8 +15,6 @@ |
3405 | |
3406 | """CommitHandlers that build and save revisions & their inventories.""" |
3407 | |
3408 | -from __future__ import absolute_import |
3409 | - |
3410 | from ... import ( |
3411 | debug, |
3412 | errors, |
3413 | |
3414 | === modified file 'breezy/plugins/fastimport/cache_manager.py' |
3415 | --- breezy/plugins/fastimport/cache_manager.py 2018-11-11 04:08:32 +0000 |
3416 | +++ breezy/plugins/fastimport/cache_manager.py 2020-02-18 05:49:35 +0000 |
3417 | @@ -15,8 +15,6 @@ |
3418 | |
3419 | """A manager of caches.""" |
3420 | |
3421 | -from __future__ import absolute_import |
3422 | - |
3423 | import atexit |
3424 | import os |
3425 | import shutil |
3426 | |
3427 | === modified file 'breezy/plugins/fastimport/cmds.py' |
3428 | --- breezy/plugins/fastimport/cmds.py 2020-02-07 02:14:30 +0000 |
3429 | +++ breezy/plugins/fastimport/cmds.py 2020-02-18 05:49:35 +0000 |
3430 | @@ -15,8 +15,6 @@ |
3431 | |
3432 | """Fastimport/fastexport commands.""" |
3433 | |
3434 | -from __future__ import absolute_import |
3435 | - |
3436 | from ... import controldir |
3437 | from ...commands import Command |
3438 | from ...option import Option, RegistryOption |
3439 | |
3440 | === modified file 'breezy/plugins/fastimport/exporter.py' |
3441 | --- breezy/plugins/fastimport/exporter.py 2020-02-07 02:14:30 +0000 |
3442 | +++ breezy/plugins/fastimport/exporter.py 2020-02-18 05:49:35 +0000 |
3443 | @@ -41,8 +41,6 @@ |
3444 | |
3445 | """Core engine for the fast-export command.""" |
3446 | |
3447 | -from __future__ import absolute_import |
3448 | - |
3449 | # TODO: if a new_git_branch below gets merged repeatedly, the tip of the branch |
3450 | # is not updated (because the parent of commit is already merged, so we don't |
3451 | # set new_git_branch to the previously used name) |
3452 | |
3453 | === modified file 'breezy/plugins/fastimport/helpers.py' |
3454 | --- breezy/plugins/fastimport/helpers.py 2019-03-18 04:31:21 +0000 |
3455 | +++ breezy/plugins/fastimport/helpers.py 2020-02-18 05:49:35 +0000 |
3456 | @@ -15,8 +15,6 @@ |
3457 | |
3458 | """Miscellaneous useful stuff.""" |
3459 | |
3460 | -from __future__ import absolute_import |
3461 | - |
3462 | import stat |
3463 | |
3464 | from ... import ( |
3465 | |
3466 | === modified file 'breezy/plugins/fastimport/idmapfile.py' |
3467 | --- breezy/plugins/fastimport/idmapfile.py 2018-07-03 23:54:50 +0000 |
3468 | +++ breezy/plugins/fastimport/idmapfile.py 2020-02-18 05:49:35 +0000 |
3469 | @@ -15,8 +15,6 @@ |
3470 | |
3471 | """Routines for saving and loading the id-map file.""" |
3472 | |
3473 | -from __future__ import absolute_import |
3474 | - |
3475 | import os |
3476 | |
3477 | |
3478 | |
3479 | === modified file 'breezy/plugins/fastimport/marks_file.py' |
3480 | --- breezy/plugins/fastimport/marks_file.py 2018-11-11 04:08:32 +0000 |
3481 | +++ breezy/plugins/fastimport/marks_file.py 2020-02-18 05:49:35 +0000 |
3482 | @@ -15,8 +15,6 @@ |
3483 | |
3484 | """Routines for reading/writing a marks file.""" |
3485 | |
3486 | -from __future__ import absolute_import |
3487 | - |
3488 | from ...trace import warning |
3489 | |
3490 | |
3491 | |
3492 | === modified file 'breezy/plugins/fastimport/processors/__init__.py' |
3493 | --- breezy/plugins/fastimport/processors/__init__.py 2017-05-24 14:51:33 +0000 |
3494 | +++ breezy/plugins/fastimport/processors/__init__.py 2020-02-18 05:49:35 +0000 |
3495 | @@ -14,5 +14,3 @@ |
3496 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
3497 | |
3498 | """Actual import processors.""" |
3499 | - |
3500 | -from __future__ import absolute_import |
3501 | |
3502 | === modified file 'breezy/plugins/fastimport/processors/generic_processor.py' |
3503 | --- breezy/plugins/fastimport/processors/generic_processor.py 2019-12-01 16:21:41 +0000 |
3504 | +++ breezy/plugins/fastimport/processors/generic_processor.py 2020-02-18 05:49:35 +0000 |
3505 | @@ -15,8 +15,6 @@ |
3506 | |
3507 | """Import processor that supports all Bazaar repository formats.""" |
3508 | |
3509 | -from __future__ import absolute_import |
3510 | - |
3511 | |
3512 | import time |
3513 | from .... import ( |
3514 | |
3515 | === modified file 'breezy/plugins/fastimport/revision_store.py' |
3516 | --- breezy/plugins/fastimport/revision_store.py 2020-01-19 13:47:29 +0000 |
3517 | +++ breezy/plugins/fastimport/revision_store.py 2020-02-18 05:49:35 +0000 |
3518 | @@ -15,8 +15,6 @@ |
3519 | |
3520 | """An abstraction of a repository providing just the bits importing needs.""" |
3521 | |
3522 | -from __future__ import absolute_import |
3523 | - |
3524 | from io import BytesIO |
3525 | |
3526 | from ... import ( |
3527 | |
3528 | === modified file 'breezy/plugins/fastimport/tests/__init__.py' |
3529 | --- breezy/plugins/fastimport/tests/__init__.py 2018-11-11 04:08:32 +0000 |
3530 | +++ breezy/plugins/fastimport/tests/__init__.py 2020-02-18 05:49:35 +0000 |
3531 | @@ -16,8 +16,6 @@ |
3532 | |
3533 | """Tests for bzr-fastimport.""" |
3534 | |
3535 | -from __future__ import absolute_import |
3536 | - |
3537 | from .... import errors as bzr_errors |
3538 | from ....tests import TestLoader |
3539 | from ....tests.features import Feature |
3540 | |
3541 | === modified file 'breezy/plugins/fastimport/tests/test_branch_mapper.py' |
3542 | --- breezy/plugins/fastimport/tests/test_branch_mapper.py 2018-11-11 04:08:32 +0000 |
3543 | +++ breezy/plugins/fastimport/tests/test_branch_mapper.py 2020-02-18 05:49:35 +0000 |
3544 | @@ -15,8 +15,6 @@ |
3545 | |
3546 | """Test the BranchMapper methods.""" |
3547 | |
3548 | -from __future__ import absolute_import |
3549 | - |
3550 | from .... import tests |
3551 | |
3552 | from .. import ( |
3553 | |
3554 | === modified file 'breezy/plugins/fastimport/tests/test_commands.py' |
3555 | --- breezy/plugins/fastimport/tests/test_commands.py 2019-12-01 16:14:53 +0000 |
3556 | +++ breezy/plugins/fastimport/tests/test_commands.py 2020-02-18 05:49:35 +0000 |
3557 | @@ -15,8 +15,6 @@ |
3558 | |
3559 | """Test the command implementations.""" |
3560 | |
3561 | -from __future__ import absolute_import |
3562 | - |
3563 | import os |
3564 | import re |
3565 | import tempfile |
3566 | |
3567 | === modified file 'breezy/plugins/fastimport/tests/test_exporter.py' |
3568 | --- breezy/plugins/fastimport/tests/test_exporter.py 2018-11-11 04:08:32 +0000 |
3569 | +++ breezy/plugins/fastimport/tests/test_exporter.py 2020-02-18 05:49:35 +0000 |
3570 | @@ -15,8 +15,6 @@ |
3571 | |
3572 | """Test the exporter.""" |
3573 | |
3574 | -from __future__ import absolute_import |
3575 | - |
3576 | import os |
3577 | import tempfile |
3578 | import gzip |
3579 | |
3580 | === modified file 'breezy/plugins/fastimport/tests/test_generic_processor.py' |
3581 | --- breezy/plugins/fastimport/tests/test_generic_processor.py 2019-12-26 13:20:45 +0000 |
3582 | +++ breezy/plugins/fastimport/tests/test_generic_processor.py 2020-02-18 05:49:35 +0000 |
3583 | @@ -13,8 +13,6 @@ |
3584 | # You should have received a copy of the GNU General Public License |
3585 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
3586 | |
3587 | -from __future__ import absolute_import |
3588 | - |
3589 | import time |
3590 | |
3591 | from .... import ( |
3592 | |
3593 | === modified file 'breezy/plugins/fastimport/tests/test_head_tracking.py' |
3594 | --- breezy/plugins/fastimport/tests/test_head_tracking.py 2020-02-07 02:14:30 +0000 |
3595 | +++ breezy/plugins/fastimport/tests/test_head_tracking.py 2020-02-18 05:49:35 +0000 |
3596 | @@ -15,8 +15,6 @@ |
3597 | |
3598 | """Test tracking of heads""" |
3599 | |
3600 | -from __future__ import absolute_import |
3601 | - |
3602 | from io import StringIO |
3603 | |
3604 | from fastimport import ( |
3605 | |
3606 | === modified file 'breezy/plugins/fastimport/tests/test_revision_store.py' |
3607 | --- breezy/plugins/fastimport/tests/test_revision_store.py 2019-09-21 23:05:12 +0000 |
3608 | +++ breezy/plugins/fastimport/tests/test_revision_store.py 2020-02-18 05:49:35 +0000 |
3609 | @@ -15,8 +15,6 @@ |
3610 | |
3611 | """Direct tests of the revision_store classes.""" |
3612 | |
3613 | -from __future__ import absolute_import |
3614 | - |
3615 | from .... import ( |
3616 | branch, |
3617 | errors, |
3618 | |
3619 | === modified file 'breezy/plugins/fastimport/user_mapper.py' |
3620 | --- breezy/plugins/fastimport/user_mapper.py 2020-02-07 02:14:30 +0000 |
3621 | +++ breezy/plugins/fastimport/user_mapper.py 2020-02-18 05:49:35 +0000 |
3622 | @@ -13,8 +13,6 @@ |
3623 | # You should have received a copy of the GNU General Public License |
3624 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
3625 | |
3626 | -from __future__ import absolute_import |
3627 | - |
3628 | from email.utils import parseaddr |
3629 | |
3630 | |
3631 | |
3632 | === modified file 'breezy/plugins/flake8/__init__.py' |
3633 | --- breezy/plugins/flake8/__init__.py 2019-08-22 21:54:14 +0000 |
3634 | +++ breezy/plugins/flake8/__init__.py 2020-02-18 05:49:35 +0000 |
3635 | @@ -20,8 +20,6 @@ |
3636 | """ |
3637 | |
3638 | |
3639 | -from __future__ import absolute_import |
3640 | - |
3641 | from breezy.errors import BzrError, DependencyNotPresent |
3642 | |
3643 | |
3644 | |
3645 | === modified file 'breezy/plugins/fossil/__init__.py' |
3646 | --- breezy/plugins/fossil/__init__.py 2019-11-09 16:27:41 +0000 |
3647 | +++ breezy/plugins/fossil/__init__.py 2020-02-18 05:49:35 +0000 |
3648 | @@ -19,8 +19,6 @@ |
3649 | Currently only tells the user that Fossil is not supported. |
3650 | """ |
3651 | |
3652 | -from __future__ import absolute_import |
3653 | - |
3654 | from ... import version_info # noqa: F401 |
3655 | |
3656 | from ... import ( |
3657 | |
3658 | === modified file 'breezy/plugins/hg/__init__.py' |
3659 | --- breezy/plugins/hg/__init__.py 2020-01-12 13:56:10 +0000 |
3660 | +++ breezy/plugins/hg/__init__.py 2020-02-18 05:49:35 +0000 |
3661 | @@ -19,8 +19,6 @@ |
3662 | Currently only tells the user that Mercurial is not supported. |
3663 | """ |
3664 | |
3665 | -from __future__ import absolute_import |
3666 | - |
3667 | from ... import ( |
3668 | controldir, |
3669 | errors, |
3670 | |
3671 | === modified file 'breezy/plugins/launchpad/__init__.py' |
3672 | --- breezy/plugins/launchpad/__init__.py 2019-02-14 19:18:27 +0000 |
3673 | +++ breezy/plugins/launchpad/__init__.py 2020-02-18 05:49:35 +0000 |
3674 | @@ -37,8 +37,6 @@ |
3675 | |
3676 | """ |
3677 | |
3678 | -from __future__ import absolute_import |
3679 | - |
3680 | # The XMLRPC server address can be overridden by setting the environment |
3681 | # variable $BRZ_LP_XMLRPC_URL |
3682 | |
3683 | |
3684 | === modified file 'breezy/plugins/launchpad/account.py' |
3685 | --- breezy/plugins/launchpad/account.py 2018-11-11 04:08:32 +0000 |
3686 | +++ breezy/plugins/launchpad/account.py 2020-02-18 05:49:35 +0000 |
3687 | @@ -20,8 +20,6 @@ |
3688 | than once for each place that needs to take it into account. |
3689 | """ |
3690 | |
3691 | -from __future__ import absolute_import |
3692 | - |
3693 | from ... import ( |
3694 | errors, |
3695 | trace, |
3696 | |
3697 | === modified file 'breezy/plugins/launchpad/cmds.py' |
3698 | --- breezy/plugins/launchpad/cmds.py 2020-02-07 02:14:30 +0000 |
3699 | +++ breezy/plugins/launchpad/cmds.py 2020-02-18 05:49:35 +0000 |
3700 | @@ -16,8 +16,6 @@ |
3701 | |
3702 | """Launchpad plugin commands.""" |
3703 | |
3704 | -from __future__ import absolute_import |
3705 | - |
3706 | from ... import ( |
3707 | branch as _mod_branch, |
3708 | controldir, |
3709 | |
3710 | === modified file 'breezy/plugins/launchpad/lp_api.py' |
3711 | --- breezy/plugins/launchpad/lp_api.py 2020-02-07 02:14:30 +0000 |
3712 | +++ breezy/plugins/launchpad/lp_api.py 2020-02-18 05:49:35 +0000 |
3713 | @@ -16,8 +16,6 @@ |
3714 | |
3715 | """Tools for dealing with the Launchpad API.""" |
3716 | |
3717 | -from __future__ import absolute_import |
3718 | - |
3719 | # Importing this module will be expensive, since it imports launchpadlib and |
3720 | # its dependencies. However, our plan is to only load this module when it is |
3721 | # needed by a command that uses it. |
3722 | |
3723 | === modified file 'breezy/plugins/launchpad/lp_directory.py' |
3724 | --- breezy/plugins/launchpad/lp_directory.py 2020-02-07 02:14:30 +0000 |
3725 | +++ breezy/plugins/launchpad/lp_directory.py 2020-02-18 05:49:35 +0000 |
3726 | @@ -16,8 +16,6 @@ |
3727 | |
3728 | """Directory lookup that uses Launchpad.""" |
3729 | |
3730 | -from __future__ import absolute_import |
3731 | - |
3732 | from urllib.parse import urlsplit |
3733 | from xmlrpc.client import Fault |
3734 | |
3735 | |
3736 | === modified file 'breezy/plugins/launchpad/lp_propose.py' |
3737 | --- breezy/plugins/launchpad/lp_propose.py 2019-06-15 12:04:34 +0000 |
3738 | +++ breezy/plugins/launchpad/lp_propose.py 2020-02-18 05:49:35 +0000 |
3739 | @@ -14,8 +14,6 @@ |
3740 | # along with this program; if not, write to the Free Software |
3741 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3742 | |
3743 | -from __future__ import absolute_import |
3744 | - |
3745 | from ... import ( |
3746 | errors, |
3747 | hooks, |
3748 | |
3749 | === modified file 'breezy/plugins/launchpad/lp_registration.py' |
3750 | --- breezy/plugins/launchpad/lp_registration.py 2020-02-07 02:14:30 +0000 |
3751 | +++ breezy/plugins/launchpad/lp_registration.py 2020-02-18 05:49:35 +0000 |
3752 | @@ -14,8 +14,6 @@ |
3753 | # along with this program; if not, write to the Free Software |
3754 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3755 | |
3756 | -from __future__ import absolute_import |
3757 | - |
3758 | from io import BytesIO |
3759 | import os |
3760 | import socket |
3761 | |
3762 | === modified file 'breezy/plugins/launchpad/uris.py' |
3763 | --- breezy/plugins/launchpad/uris.py 2019-10-27 00:30:00 +0000 |
3764 | +++ breezy/plugins/launchpad/uris.py 2020-02-18 05:49:35 +0000 |
3765 | @@ -16,8 +16,6 @@ |
3766 | |
3767 | """Launchpad URIs.""" |
3768 | |
3769 | -from __future__ import absolute_import |
3770 | - |
3771 | |
3772 | # We use production as the default because edge has been deprecated circa |
3773 | # 2010-11 (see bug https://bugs.launchpad.net/bzr/+bug/583667) |
3774 | |
3775 | === modified file 'breezy/plugins/mtn/__init__.py' |
3776 | --- breezy/plugins/mtn/__init__.py 2019-11-06 01:31:41 +0000 |
3777 | +++ breezy/plugins/mtn/__init__.py 2020-02-18 05:49:35 +0000 |
3778 | @@ -19,8 +19,6 @@ |
3779 | Currently only tells the user that Monotone is not supported. |
3780 | """ |
3781 | |
3782 | -from __future__ import absolute_import |
3783 | - |
3784 | from ... import version_info # noqa: F401 |
3785 | |
3786 | from ... import ( |
3787 | |
3788 | === modified file 'breezy/plugins/netrc_credential_store/__init__.py' |
3789 | --- breezy/plugins/netrc_credential_store/__init__.py 2020-01-11 17:41:33 +0000 |
3790 | +++ breezy/plugins/netrc_credential_store/__init__.py 2020-02-18 05:49:35 +0000 |
3791 | @@ -14,8 +14,6 @@ |
3792 | # along with this program; if not, write to the Free Software |
3793 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3794 | |
3795 | -from __future__ import absolute_import |
3796 | - |
3797 | __doc__ = """Use ~/.netrc as a credential store for authentication.conf.""" |
3798 | |
3799 | # Since we are a built-in plugin we share the breezy version |
3800 | |
3801 | === modified file 'breezy/plugins/news_merge/__init__.py' |
3802 | --- breezy/plugins/news_merge/__init__.py 2018-11-11 04:08:32 +0000 |
3803 | +++ breezy/plugins/news_merge/__init__.py 2020-02-18 05:49:35 +0000 |
3804 | @@ -14,8 +14,6 @@ |
3805 | # along with this program; if not, write to the Free Software |
3806 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3807 | |
3808 | -from __future__ import absolute_import |
3809 | - |
3810 | __doc__ = """Merge hook for bzr's NEWS file. |
3811 | |
3812 | To enable this plugin, add a section to your branch.conf or location.conf |
3813 | |
3814 | === modified file 'breezy/plugins/news_merge/news_merge.py' |
3815 | --- breezy/plugins/news_merge/news_merge.py 2018-11-11 04:08:32 +0000 |
3816 | +++ breezy/plugins/news_merge/news_merge.py 2020-02-18 05:49:35 +0000 |
3817 | @@ -16,9 +16,6 @@ |
3818 | |
3819 | """Merge logic for news_merge plugin.""" |
3820 | |
3821 | -from __future__ import absolute_import |
3822 | - |
3823 | - |
3824 | from .parser import simple_parse_lines |
3825 | from ... import merge, merge3 |
3826 | |
3827 | |
3828 | === modified file 'breezy/plugins/news_merge/parser.py' |
3829 | --- breezy/plugins/news_merge/parser.py 2018-11-11 04:08:32 +0000 |
3830 | +++ breezy/plugins/news_merge/parser.py 2020-02-18 05:49:35 +0000 |
3831 | @@ -24,9 +24,6 @@ |
3832 | simple_parse's docstring). |
3833 | """ |
3834 | |
3835 | -from __future__ import absolute_import |
3836 | - |
3837 | - |
3838 | def simple_parse_lines(lines): |
3839 | """Same as simple_parse, but takes an iterable of strs rather than a single |
3840 | str. |
3841 | |
3842 | === modified file 'breezy/plugins/po_merge/__init__.py' |
3843 | --- breezy/plugins/po_merge/__init__.py 2018-11-11 04:08:32 +0000 |
3844 | +++ breezy/plugins/po_merge/__init__.py 2020-02-18 05:49:35 +0000 |
3845 | @@ -14,8 +14,6 @@ |
3846 | # along with this program; if not, write to the Free Software |
3847 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
3848 | |
3849 | -from __future__ import absolute_import |
3850 | - |
3851 | __doc__ = """Merge hook for ``.po`` files. |
3852 | |
3853 | To enable this plugin, add a section to your branch.conf or location.conf |
3854 | |
3855 | === modified file 'breezy/plugins/po_merge/po_merge.py' |
3856 | --- breezy/plugins/po_merge/po_merge.py 2018-11-21 03:20:30 +0000 |
3857 | +++ breezy/plugins/po_merge/po_merge.py 2020-02-18 05:49:35 +0000 |
3858 | @@ -16,8 +16,6 @@ |
3859 | |
3860 | """Merge logic for po_merge plugin.""" |
3861 | |
3862 | -from __future__ import absolute_import |
3863 | - |
3864 | from ... import ( |
3865 | config, |
3866 | merge, |
3867 | |
3868 | === modified file 'breezy/plugins/propose/__init__.py' |
3869 | --- breezy/plugins/propose/__init__.py 2019-10-27 13:45:49 +0000 |
3870 | +++ breezy/plugins/propose/__init__.py 2020-02-18 05:49:35 +0000 |
3871 | @@ -16,8 +16,6 @@ |
3872 | |
3873 | """Management of hosted branches.""" |
3874 | |
3875 | -from __future__ import absolute_import |
3876 | - |
3877 | from ... import version_info # noqa: F401 |
3878 | from ...commands import plugin_cmds |
3879 | |
3880 | |
3881 | === modified file 'breezy/plugins/propose/cmds.py' |
3882 | --- breezy/plugins/propose/cmds.py 2020-02-07 02:14:30 +0000 |
3883 | +++ breezy/plugins/propose/cmds.py 2020-02-18 05:49:35 +0000 |
3884 | @@ -16,8 +16,6 @@ |
3885 | |
3886 | """Propose command implementations.""" |
3887 | |
3888 | -from __future__ import absolute_import |
3889 | - |
3890 | from io import StringIO |
3891 | |
3892 | from ... import ( |
3893 | |
3894 | === modified file 'breezy/plugins/propose/github.py' |
3895 | --- breezy/plugins/propose/github.py 2020-02-07 02:14:30 +0000 |
3896 | +++ breezy/plugins/propose/github.py 2020-02-18 05:49:35 +0000 |
3897 | @@ -16,8 +16,6 @@ |
3898 | |
3899 | """Support for GitHub.""" |
3900 | |
3901 | -from __future__ import absolute_import |
3902 | - |
3903 | import json |
3904 | import os |
3905 | |
3906 | |
3907 | === modified file 'breezy/plugins/propose/gitlabs.py' |
3908 | --- breezy/plugins/propose/gitlabs.py 2020-02-07 02:14:30 +0000 |
3909 | +++ breezy/plugins/propose/gitlabs.py 2020-02-18 05:49:35 +0000 |
3910 | @@ -16,8 +16,6 @@ |
3911 | |
3912 | """Support for GitLab.""" |
3913 | |
3914 | -from __future__ import absolute_import |
3915 | - |
3916 | import json |
3917 | import os |
3918 | import time |
3919 | |
3920 | === modified file 'breezy/plugins/propose/launchpad.py' |
3921 | --- breezy/plugins/propose/launchpad.py 2020-01-28 23:33:16 +0000 |
3922 | +++ breezy/plugins/propose/launchpad.py 2020-02-18 05:49:35 +0000 |
3923 | @@ -17,8 +17,6 @@ |
3924 | |
3925 | """Support for Launchpad.""" |
3926 | |
3927 | -from __future__ import absolute_import |
3928 | - |
3929 | import re |
3930 | import shutil |
3931 | import tempfile |
3932 | |
3933 | === modified file 'breezy/plugins/quilt/__init__.py' |
3934 | --- breezy/plugins/quilt/__init__.py 2019-06-15 11:47:16 +0000 |
3935 | +++ breezy/plugins/quilt/__init__.py 2020-02-18 05:49:35 +0000 |
3936 | @@ -15,8 +15,6 @@ |
3937 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
3938 | # |
3939 | |
3940 | -from __future__ import absolute_import |
3941 | - |
3942 | """Quilt patch integration. |
3943 | |
3944 | This plugin adds support for three configuration options: |
3945 | |
3946 | === modified file 'breezy/plugins/quilt/merge.py' |
3947 | --- breezy/plugins/quilt/merge.py 2019-06-15 11:47:16 +0000 |
3948 | +++ breezy/plugins/quilt/merge.py 2020-02-18 05:49:35 +0000 |
3949 | @@ -19,8 +19,6 @@ |
3950 | |
3951 | """Quilt patch handling.""" |
3952 | |
3953 | -from __future__ import absolute_import |
3954 | - |
3955 | import shutil |
3956 | import tempfile |
3957 | |
3958 | |
3959 | === modified file 'breezy/plugins/quilt/quilt.py' |
3960 | --- breezy/plugins/quilt/quilt.py 2019-08-31 10:25:20 +0000 |
3961 | +++ breezy/plugins/quilt/quilt.py 2020-02-18 05:49:35 +0000 |
3962 | @@ -18,8 +18,6 @@ |
3963 | |
3964 | """Quilt patch handling.""" |
3965 | |
3966 | -from __future__ import absolute_import |
3967 | - |
3968 | import os |
3969 | |
3970 | from ... import osutils |
3971 | |
3972 | === modified file 'breezy/plugins/quilt/tests/__init__.py' |
3973 | --- breezy/plugins/quilt/tests/__init__.py 2019-06-15 11:47:16 +0000 |
3974 | +++ breezy/plugins/quilt/tests/__init__.py 2020-02-18 05:49:35 +0000 |
3975 | @@ -16,8 +16,6 @@ |
3976 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
3977 | # |
3978 | |
3979 | -from __future__ import absolute_import |
3980 | - |
3981 | from .... import tests |
3982 | |
3983 | from ....tests import ( |
3984 | |
3985 | === modified file 'breezy/plugins/quilt/tests/test_merge.py' |
3986 | --- breezy/plugins/quilt/tests/test_merge.py 2019-06-16 13:10:54 +0000 |
3987 | +++ breezy/plugins/quilt/tests/test_merge.py 2020-02-18 05:49:35 +0000 |
3988 | @@ -18,8 +18,6 @@ |
3989 | |
3990 | """Tests for the merge_quilt code.""" |
3991 | |
3992 | -from __future__ import absolute_import |
3993 | - |
3994 | import os |
3995 | import shutil |
3996 | |
3997 | |
3998 | === modified file 'breezy/plugins/quilt/tests/test_wrapper.py' |
3999 | --- breezy/plugins/quilt/tests/test_wrapper.py 2019-11-18 04:21:00 +0000 |
4000 | +++ breezy/plugins/quilt/tests/test_wrapper.py 2020-02-18 05:49:35 +0000 |
4001 | @@ -18,8 +18,6 @@ |
4002 | |
4003 | """Tests for the quilt code.""" |
4004 | |
4005 | -from __future__ import absolute_import |
4006 | - |
4007 | import os |
4008 | |
4009 | from ..wrapper import ( |
4010 | |
4011 | === modified file 'breezy/plugins/quilt/wrapper.py' |
4012 | --- breezy/plugins/quilt/wrapper.py 2019-11-18 04:21:00 +0000 |
4013 | +++ breezy/plugins/quilt/wrapper.py 2020-02-18 05:49:35 +0000 |
4014 | @@ -19,8 +19,6 @@ |
4015 | |
4016 | """Quilt patch handling.""" |
4017 | |
4018 | -from __future__ import absolute_import |
4019 | - |
4020 | import errno |
4021 | import os |
4022 | import signal |
4023 | |
4024 | === modified file 'breezy/plugins/repodebug/__init__.py' |
4025 | --- breezy/plugins/repodebug/__init__.py 2019-10-13 16:49:05 +0000 |
4026 | +++ breezy/plugins/repodebug/__init__.py 2020-02-18 05:49:35 +0000 |
4027 | @@ -20,8 +20,6 @@ |
4028 | as hidden commands. |
4029 | """ |
4030 | |
4031 | -from __future__ import absolute_import |
4032 | - |
4033 | from ... import version_info # noqa: F401 |
4034 | from ...commands import plugin_cmds |
4035 | |
4036 | |
4037 | === modified file 'breezy/plugins/repodebug/check_chk.py' |
4038 | --- breezy/plugins/repodebug/check_chk.py 2018-11-07 21:17:53 +0000 |
4039 | +++ breezy/plugins/repodebug/check_chk.py 2020-02-18 05:49:35 +0000 |
4040 | @@ -18,8 +18,6 @@ |
4041 | |
4042 | """ |
4043 | |
4044 | -from __future__ import absolute_import |
4045 | - |
4046 | from ... import ( |
4047 | controldir, |
4048 | commands, |
4049 | |
4050 | === modified file 'breezy/plugins/repodebug/chk_used_by.py' |
4051 | --- breezy/plugins/repodebug/chk_used_by.py 2018-11-11 04:08:32 +0000 |
4052 | +++ breezy/plugins/repodebug/chk_used_by.py 2020-02-18 05:49:35 +0000 |
4053 | @@ -14,8 +14,6 @@ |
4054 | # along with this program; if not, write to the Free Software |
4055 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4056 | |
4057 | -from __future__ import absolute_import |
4058 | - |
4059 | from ... import ( |
4060 | controldir, |
4061 | static_tuple, |
4062 | |
4063 | === modified file 'breezy/plugins/repodebug/fetch_all_records.py' |
4064 | --- breezy/plugins/repodebug/fetch_all_records.py 2018-11-11 04:08:32 +0000 |
4065 | +++ breezy/plugins/repodebug/fetch_all_records.py 2020-02-18 05:49:35 +0000 |
4066 | @@ -14,8 +14,6 @@ |
4067 | # along with this program; if not, write to the Free Software |
4068 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4069 | |
4070 | -from __future__ import absolute_import |
4071 | -from __future__ import print_function |
4072 | |
4073 | from ...controldir import ControlDir |
4074 | from ...commands import Command, Option |
4075 | |
4076 | === modified file 'breezy/plugins/repodebug/file_refs.py' |
4077 | --- breezy/plugins/repodebug/file_refs.py 2018-05-27 18:00:21 +0000 |
4078 | +++ breezy/plugins/repodebug/file_refs.py 2020-02-18 05:49:35 +0000 |
4079 | @@ -14,8 +14,6 @@ |
4080 | # along with this program; if not, write to the Free Software |
4081 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4082 | |
4083 | -from __future__ import absolute_import |
4084 | - |
4085 | from ... import ( |
4086 | controldir, |
4087 | commands, |
4088 | |
4089 | === modified file 'breezy/plugins/repodebug/missing_keys_for_stacking_fixer.py' |
4090 | --- breezy/plugins/repodebug/missing_keys_for_stacking_fixer.py 2020-02-07 02:14:30 +0000 |
4091 | +++ breezy/plugins/repodebug/missing_keys_for_stacking_fixer.py 2020-02-18 05:49:35 +0000 |
4092 | @@ -14,8 +14,6 @@ |
4093 | # along with this program; if not, write to the Free Software |
4094 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4095 | |
4096 | -from __future__ import absolute_import |
4097 | - |
4098 | from ...controldir import ControlDir |
4099 | from ...commands import Command, Option |
4100 | from ... import errors |
4101 | |
4102 | === modified file 'breezy/plugins/repodebug/repo_has_key.py' |
4103 | --- breezy/plugins/repodebug/repo_has_key.py 2017-09-07 08:21:29 +0000 |
4104 | +++ breezy/plugins/repodebug/repo_has_key.py 2020-02-18 05:49:35 +0000 |
4105 | @@ -14,8 +14,6 @@ |
4106 | # along with this program; if not, write to the Free Software |
4107 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4108 | |
4109 | -from __future__ import absolute_import |
4110 | - |
4111 | from ...controldir import ControlDir |
4112 | from ...commands import Command |
4113 | |
4114 | |
4115 | === modified file 'breezy/plugins/repodebug/repo_keys.py' |
4116 | --- breezy/plugins/repodebug/repo_keys.py 2018-11-11 04:08:32 +0000 |
4117 | +++ breezy/plugins/repodebug/repo_keys.py 2020-02-18 05:49:35 +0000 |
4118 | @@ -14,8 +14,6 @@ |
4119 | # along with this program; if not, write to the Free Software |
4120 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4121 | |
4122 | -from __future__ import absolute_import |
4123 | - |
4124 | from ... import controldir |
4125 | from ...commands import Command |
4126 | |
4127 | |
4128 | === modified file 'breezy/plugins/rewrite/__init__.py' |
4129 | --- breezy/plugins/rewrite/__init__.py 2020-01-11 17:20:34 +0000 |
4130 | +++ breezy/plugins/rewrite/__init__.py 2020-02-18 05:49:35 +0000 |
4131 | @@ -21,8 +21,6 @@ |
4132 | 'rebase-continue' command or abort using the 'rebase-abort' command. |
4133 | """ |
4134 | |
4135 | -from __future__ import absolute_import |
4136 | - |
4137 | from ... import errors |
4138 | from ...commands import plugin_cmds |
4139 | |
4140 | |
4141 | === modified file 'breezy/plugins/rewrite/commands.py' |
4142 | --- breezy/plugins/rewrite/commands.py 2020-01-11 17:20:34 +0000 |
4143 | +++ breezy/plugins/rewrite/commands.py 2020-02-18 05:49:35 +0000 |
4144 | @@ -16,8 +16,6 @@ |
4145 | |
4146 | """Bazaar command-line subcommands.""" |
4147 | |
4148 | -from __future__ import absolute_import |
4149 | - |
4150 | from ...commands import ( |
4151 | Command, |
4152 | display_command, |
4153 | |
4154 | === modified file 'breezy/plugins/rewrite/maptree.py' |
4155 | --- breezy/plugins/rewrite/maptree.py 2020-01-19 13:47:29 +0000 |
4156 | +++ breezy/plugins/rewrite/maptree.py 2020-02-18 05:49:35 +0000 |
4157 | @@ -15,8 +15,6 @@ |
4158 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
4159 | """Map Tree.""" |
4160 | |
4161 | -from __future__ import absolute_import |
4162 | - |
4163 | def map_file_ids(repository, old_parents, new_parents): |
4164 | """Try to determine the equivalent file ids in two sets of parents. |
4165 | |
4166 | |
4167 | === modified file 'breezy/plugins/rewrite/pseudonyms.py' |
4168 | --- breezy/plugins/rewrite/pseudonyms.py 2020-01-11 17:20:34 +0000 |
4169 | +++ breezy/plugins/rewrite/pseudonyms.py 2020-02-18 05:49:35 +0000 |
4170 | @@ -16,8 +16,6 @@ |
4171 | |
4172 | """Revision pseudonyms.""" |
4173 | |
4174 | -from __future__ import absolute_import |
4175 | - |
4176 | from collections import defaultdict |
4177 | |
4178 | from breezy import ( |
4179 | |
4180 | === modified file 'breezy/plugins/rewrite/rebase.py' |
4181 | --- breezy/plugins/rewrite/rebase.py 2020-01-11 23:46:34 +0000 |
4182 | +++ breezy/plugins/rewrite/rebase.py 2020-02-18 05:49:35 +0000 |
4183 | @@ -16,8 +16,6 @@ |
4184 | |
4185 | """Rebase.""" |
4186 | |
4187 | -from __future__ import absolute_import |
4188 | - |
4189 | import os |
4190 | |
4191 | from ... import ( |
4192 | |
4193 | === modified file 'breezy/plugins/rewrite/upgrade.py' |
4194 | --- breezy/plugins/rewrite/upgrade.py 2020-01-11 17:20:34 +0000 |
4195 | +++ breezy/plugins/rewrite/upgrade.py 2020-02-18 05:49:35 +0000 |
4196 | @@ -17,8 +17,6 @@ |
4197 | |
4198 | """Upgrading revisions made with older versions of the mapping.""" |
4199 | |
4200 | -from __future__ import absolute_import |
4201 | - |
4202 | from ... import ( |
4203 | osutils, |
4204 | trace, |
4205 | |
4206 | === modified file 'breezy/plugins/stats/__init__.py' |
4207 | --- breezy/plugins/stats/__init__.py 2019-11-28 08:57:20 +0000 |
4208 | +++ breezy/plugins/stats/__init__.py 2020-02-18 05:49:35 +0000 |
4209 | @@ -15,8 +15,6 @@ |
4210 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
4211 | """A Simple bzr plugin to generate statistics about the history.""" |
4212 | |
4213 | -from __future__ import absolute_import |
4214 | - |
4215 | from ... import _format_version_tuple, version_info |
4216 | |
4217 | __version__ = _format_version_tuple(version_info) |
4218 | |
4219 | === modified file 'breezy/plugins/stats/classify.py' |
4220 | --- breezy/plugins/stats/classify.py 2019-11-28 08:57:20 +0000 |
4221 | +++ breezy/plugins/stats/classify.py 2020-02-18 05:49:35 +0000 |
4222 | @@ -15,8 +15,6 @@ |
4223 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
4224 | """Classify a commit based on the types of files it changed.""" |
4225 | |
4226 | -from __future__ import absolute_import |
4227 | - |
4228 | import os.path |
4229 | |
4230 | from ... import urlutils |
4231 | |
4232 | === modified file 'breezy/plugins/stats/cmds.py' |
4233 | --- breezy/plugins/stats/cmds.py 2019-12-23 00:34:25 +0000 |
4234 | +++ breezy/plugins/stats/cmds.py 2020-02-18 05:49:35 +0000 |
4235 | @@ -15,8 +15,6 @@ |
4236 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
4237 | """A Simple bzr plugin to generate statistics about the history.""" |
4238 | |
4239 | -from __future__ import absolute_import |
4240 | - |
4241 | import operator |
4242 | |
4243 | from ... import ( |
4244 | |
4245 | === modified file 'breezy/plugins/stats/test_blackbox.py' |
4246 | --- breezy/plugins/stats/test_blackbox.py 2019-11-28 08:57:20 +0000 |
4247 | +++ breezy/plugins/stats/test_blackbox.py 2020-02-18 05:49:35 +0000 |
4248 | @@ -1,5 +1,3 @@ |
4249 | -from __future__ import absolute_import |
4250 | - |
4251 | from ...tests import TestCaseWithTransport |
4252 | |
4253 | |
4254 | |
4255 | === modified file 'breezy/plugins/stats/test_classify.py' |
4256 | --- breezy/plugins/stats/test_classify.py 2017-06-01 23:52:12 +0000 |
4257 | +++ breezy/plugins/stats/test_classify.py 2020-02-18 05:49:35 +0000 |
4258 | @@ -14,8 +14,6 @@ |
4259 | # along with this program; if not, write to the Free Software |
4260 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
4261 | |
4262 | -from __future__ import absolute_import |
4263 | - |
4264 | from ...tests import TestCase |
4265 | from .classify import classify_filename |
4266 | |
4267 | |
4268 | === modified file 'breezy/plugins/stats/test_stats.py' |
4269 | --- breezy/plugins/stats/test_stats.py 2018-11-11 04:08:32 +0000 |
4270 | +++ breezy/plugins/stats/test_stats.py 2020-02-18 05:49:35 +0000 |
4271 | @@ -1,5 +1,3 @@ |
4272 | -from __future__ import absolute_import |
4273 | - |
4274 | from ...tests import TestCase, TestCaseWithTransport |
4275 | from ...revision import Revision |
4276 | from .cmds import get_revisions_and_committers, collapse_by_person |
4277 | |
4278 | === modified file 'breezy/plugins/svn/__init__.py' |
4279 | --- breezy/plugins/svn/__init__.py 2020-01-13 00:27:14 +0000 |
4280 | +++ breezy/plugins/svn/__init__.py 2020-02-18 05:49:35 +0000 |
4281 | @@ -19,8 +19,6 @@ |
4282 | Currently only tells the user that Subversion is not supported. |
4283 | """ |
4284 | |
4285 | -from __future__ import absolute_import |
4286 | - |
4287 | from ... import version_info # noqa: F401 |
4288 | |
4289 | from ... import ( |
4290 | |
4291 | === modified file 'breezy/plugins/upload/__init__.py' |
4292 | --- breezy/plugins/upload/__init__.py 2018-11-18 19:48:57 +0000 |
4293 | +++ breezy/plugins/upload/__init__.py 2020-02-18 05:49:35 +0000 |
4294 | @@ -131,8 +131,6 @@ |
4295 | |
4296 | """ |
4297 | |
4298 | -from __future__ import absolute_import |
4299 | - |
4300 | # TODO: the chmod bits *can* be supported via the upload protocols |
4301 | # (i.e. poorly), but since the web developers use these protocols to upload |
4302 | # manually, it is expected that the associated web server is coherent with |
4303 | |
4304 | === modified file 'breezy/plugins/upload/cmds.py' |
4305 | --- breezy/plugins/upload/cmds.py 2020-02-07 02:14:30 +0000 |
4306 | +++ breezy/plugins/upload/cmds.py 2020-02-18 05:49:35 +0000 |
4307 | @@ -16,8 +16,6 @@ |
4308 | |
4309 | """bzr-upload command implementations.""" |
4310 | |
4311 | -from __future__ import absolute_import |
4312 | - |
4313 | from ... import ( |
4314 | commands, |
4315 | config, |
4316 | |
4317 | === modified file 'breezy/plugins/weave_fmt/__init__.py' |
4318 | --- breezy/plugins/weave_fmt/__init__.py 2018-11-11 04:08:32 +0000 |
4319 | +++ breezy/plugins/weave_fmt/__init__.py 2020-02-18 05:49:35 +0000 |
4320 | @@ -19,8 +19,6 @@ |
4321 | These were formats present in pre-1.0 version of Bazaar. |
4322 | """ |
4323 | |
4324 | -from __future__ import absolute_import |
4325 | - |
4326 | # Since we are a built-in plugin we share the breezy version |
4327 | from ... import version_info # noqa: F401 |
4328 | |
4329 | |
4330 | === modified file 'breezy/plugins/weave_fmt/branch.py' |
4331 | --- breezy/plugins/weave_fmt/branch.py 2020-01-18 04:16:23 +0000 |
4332 | +++ breezy/plugins/weave_fmt/branch.py 2020-02-18 05:49:35 +0000 |
4333 | @@ -16,8 +16,6 @@ |
4334 | |
4335 | """Weave-era branch implementations.""" |
4336 | |
4337 | -from __future__ import absolute_import |
4338 | - |
4339 | from ... import ( |
4340 | errors, |
4341 | lockable_files, |
4342 | |
4343 | === modified file 'breezy/plugins/weave_fmt/bzrdir.py' |
4344 | --- breezy/plugins/weave_fmt/bzrdir.py 2020-01-31 10:39:02 +0000 |
4345 | +++ breezy/plugins/weave_fmt/bzrdir.py 2020-02-18 05:49:35 +0000 |
4346 | @@ -16,8 +16,6 @@ |
4347 | |
4348 | """Weave-era BzrDir formats.""" |
4349 | |
4350 | -from __future__ import absolute_import |
4351 | - |
4352 | from io import BytesIO |
4353 | |
4354 | from ...bzr.bzrdir import ( |
4355 | |
4356 | === modified file 'breezy/plugins/weave_fmt/repository.py' |
4357 | --- breezy/plugins/weave_fmt/repository.py 2020-02-07 02:14:30 +0000 |
4358 | +++ breezy/plugins/weave_fmt/repository.py 2020-02-18 05:49:35 +0000 |
4359 | @@ -20,8 +20,6 @@ |
4360 | ghosts. |
4361 | """ |
4362 | |
4363 | -from __future__ import absolute_import |
4364 | - |
4365 | import gzip |
4366 | from io import BytesIO |
4367 | import os |
4368 | |
4369 | === modified file 'breezy/plugins/weave_fmt/store/__init__.py' |
4370 | --- breezy/plugins/weave_fmt/store/__init__.py 2018-11-17 16:53:10 +0000 |
4371 | +++ breezy/plugins/weave_fmt/store/__init__.py 2020-02-18 05:49:35 +0000 |
4372 | @@ -24,8 +24,6 @@ |
4373 | unique ID. |
4374 | """ |
4375 | |
4376 | -from __future__ import absolute_import |
4377 | - |
4378 | import os |
4379 | |
4380 | from .... import ( |
4381 | |
4382 | === modified file 'breezy/plugins/weave_fmt/store/text.py' |
4383 | --- breezy/plugins/weave_fmt/store/text.py 2020-02-07 02:14:30 +0000 |
4384 | +++ breezy/plugins/weave_fmt/store/text.py 2020-02-18 05:49:35 +0000 |
4385 | @@ -20,8 +20,6 @@ |
4386 | do any sort of delta compression. |
4387 | """ |
4388 | |
4389 | -from __future__ import absolute_import |
4390 | - |
4391 | import gzip |
4392 | from io import BytesIO |
4393 | import os |
4394 | |
4395 | === modified file 'breezy/plugins/weave_fmt/store/versioned.py' |
4396 | --- breezy/plugins/weave_fmt/store/versioned.py 2018-11-11 04:08:32 +0000 |
4397 | +++ breezy/plugins/weave_fmt/store/versioned.py 2020-02-18 05:49:35 +0000 |
4398 | @@ -14,8 +14,6 @@ |
4399 | # along with this program; if not, write to the Free Software |
4400 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4401 | |
4402 | -from __future__ import absolute_import |
4403 | - |
4404 | # XXX: Some consideration of the problems that might occur if there are |
4405 | # files whose id differs only in case. That should probably be forbidden. |
4406 | |
4407 | |
4408 | === modified file 'breezy/plugins/weave_fmt/test_bzrdir.py' |
4409 | --- breezy/plugins/weave_fmt/test_bzrdir.py 2019-09-21 23:05:12 +0000 |
4410 | +++ breezy/plugins/weave_fmt/test_bzrdir.py 2020-02-18 05:49:35 +0000 |
4411 | @@ -19,8 +19,6 @@ |
4412 | For interface contract tests, see tests/per_bzr_dir. |
4413 | """ |
4414 | |
4415 | -from __future__ import absolute_import |
4416 | - |
4417 | import os |
4418 | import sys |
4419 | |
4420 | |
4421 | === modified file 'breezy/plugins/weave_fmt/test_repository.py' |
4422 | --- breezy/plugins/weave_fmt/test_repository.py 2020-02-07 02:14:30 +0000 |
4423 | +++ breezy/plugins/weave_fmt/test_repository.py 2020-02-18 05:49:35 +0000 |
4424 | @@ -20,8 +20,6 @@ |
4425 | |
4426 | """ |
4427 | |
4428 | -from __future__ import absolute_import |
4429 | - |
4430 | from io import BytesIO |
4431 | from stat import S_ISDIR |
4432 | import sys |
4433 | |
4434 | === modified file 'breezy/plugins/weave_fmt/test_workingtree.py' |
4435 | --- breezy/plugins/weave_fmt/test_workingtree.py 2019-02-14 03:30:18 +0000 |
4436 | +++ breezy/plugins/weave_fmt/test_workingtree.py 2020-02-18 05:49:35 +0000 |
4437 | @@ -17,8 +17,6 @@ |
4438 | |
4439 | """Tests for weave-era working tree formats.""" |
4440 | |
4441 | -from __future__ import absolute_import |
4442 | - |
4443 | import os |
4444 | |
4445 | from ... import ( |
4446 | |
4447 | === modified file 'breezy/plugins/weave_fmt/workingtree.py' |
4448 | --- breezy/plugins/weave_fmt/workingtree.py 2020-02-07 02:14:30 +0000 |
4449 | +++ breezy/plugins/weave_fmt/workingtree.py 2020-02-18 05:49:35 +0000 |
4450 | @@ -16,8 +16,6 @@ |
4451 | |
4452 | """Weave-era working tree objects.""" |
4453 | |
4454 | -from __future__ import absolute_import |
4455 | - |
4456 | from io import BytesIO |
4457 | |
4458 | from ... import ( |
4459 | |
4460 | === modified file 'breezy/plugins/weave_fmt/xml4.py' |
4461 | --- breezy/plugins/weave_fmt/xml4.py 2020-01-31 02:56:40 +0000 |
4462 | +++ breezy/plugins/weave_fmt/xml4.py 2020-02-18 05:49:35 +0000 |
4463 | @@ -14,8 +14,6 @@ |
4464 | # along with this program; if not, write to the Free Software |
4465 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4466 | |
4467 | -from __future__ import absolute_import |
4468 | - |
4469 | from ...bzr.xml_serializer import ( |
4470 | Element, |
4471 | SubElement, |
4472 | |
4473 | === modified file 'breezy/plugins/zsh_completion/__init__.py' |
4474 | --- breezy/plugins/zsh_completion/__init__.py 2019-10-05 12:22:19 +0000 |
4475 | +++ breezy/plugins/zsh_completion/__init__.py 2020-02-18 05:49:35 +0000 |
4476 | @@ -14,8 +14,6 @@ |
4477 | # along with this program; if not, write to the Free Software |
4478 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4479 | |
4480 | -from __future__ import absolute_import |
4481 | - |
4482 | __doc__ = """Generate a shell function for zsh command line completion. |
4483 | """ |
4484 | |
4485 | |
4486 | === modified file 'breezy/plugins/zsh_completion/zshcomp.py' |
4487 | --- breezy/plugins/zsh_completion/zshcomp.py 2020-02-07 02:14:30 +0000 |
4488 | +++ breezy/plugins/zsh_completion/zshcomp.py 2020-02-18 05:49:35 +0000 |
4489 | @@ -16,8 +16,6 @@ |
4490 | # along with this program; if not, write to the Free Software |
4491 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4492 | |
4493 | -from __future__ import absolute_import |
4494 | - |
4495 | from ... import ( |
4496 | cmdline, |
4497 | commands, |
4498 | |
4499 | === modified file 'breezy/progress.py' |
4500 | --- breezy/progress.py 2018-11-12 01:41:38 +0000 |
4501 | +++ breezy/progress.py 2020-02-18 05:49:35 +0000 |
4502 | @@ -20,8 +20,6 @@ |
4503 | will manage a conceptual stack of nested activities. |
4504 | """ |
4505 | |
4506 | -from __future__ import absolute_import |
4507 | - |
4508 | import time |
4509 | import os |
4510 | |
4511 | |
4512 | === modified file 'breezy/propose.py' |
4513 | --- breezy/propose.py 2020-01-28 23:33:16 +0000 |
4514 | +++ breezy/propose.py 2020-02-18 05:49:35 +0000 |
4515 | @@ -16,8 +16,6 @@ |
4516 | |
4517 | """Helper functions for proposing merges.""" |
4518 | |
4519 | -from __future__ import absolute_import |
4520 | - |
4521 | from . import ( |
4522 | errors, |
4523 | hooks, |
4524 | |
4525 | === modified file 'breezy/push.py' |
4526 | --- breezy/push.py 2019-06-29 19:54:32 +0000 |
4527 | +++ breezy/push.py 2020-02-18 05:49:35 +0000 |
4528 | @@ -16,8 +16,6 @@ |
4529 | |
4530 | """UI helper for the push command.""" |
4531 | |
4532 | -from __future__ import absolute_import |
4533 | - |
4534 | from . import ( |
4535 | branch as _mod_branch, |
4536 | controldir, |
4537 | |
4538 | === modified file 'breezy/pyutils.py' |
4539 | --- breezy/pyutils.py 2018-11-11 04:08:32 +0000 |
4540 | +++ breezy/pyutils.py 2020-02-18 05:49:35 +0000 |
4541 | @@ -16,8 +16,6 @@ |
4542 | |
4543 | """General Python convenience functions.""" |
4544 | |
4545 | -from __future__ import absolute_import |
4546 | - |
4547 | import sys |
4548 | |
4549 | |
4550 | |
4551 | === modified file 'breezy/reconcile.py' |
4552 | --- breezy/reconcile.py 2019-06-02 02:35:46 +0000 |
4553 | +++ breezy/reconcile.py 2020-02-18 05:49:35 +0000 |
4554 | @@ -16,8 +16,6 @@ |
4555 | |
4556 | """Reconcilers are able to fix some potential data errors in a branch.""" |
4557 | |
4558 | -from __future__ import absolute_import |
4559 | - |
4560 | __all__ = [ |
4561 | 'reconcile', |
4562 | 'Reconciler', |
4563 | |
4564 | === modified file 'breezy/reconfigure.py' |
4565 | --- breezy/reconfigure.py 2019-06-26 20:58:23 +0000 |
4566 | +++ breezy/reconfigure.py 2020-02-18 05:49:35 +0000 |
4567 | @@ -20,8 +20,6 @@ |
4568 | constructing a class or using a factory method on Reconfigure. |
4569 | """ |
4570 | |
4571 | -from __future__ import absolute_import |
4572 | - |
4573 | |
4574 | from . import ( |
4575 | branch, |
4576 | |
4577 | === modified file 'breezy/recordcounter.py' |
4578 | --- breezy/recordcounter.py 2018-11-11 04:08:32 +0000 |
4579 | +++ breezy/recordcounter.py 2020-02-18 05:49:35 +0000 |
4580 | @@ -16,8 +16,6 @@ |
4581 | |
4582 | """Record counting support for showing progress of revision fetch.""" |
4583 | |
4584 | -from __future__ import absolute_import |
4585 | - |
4586 | |
4587 | class RecordCounter(object): |
4588 | """Container for maintains estimates of work requires for fetch. |
4589 | |
4590 | === modified file 'breezy/registry.py' |
4591 | --- breezy/registry.py 2020-02-07 02:14:30 +0000 |
4592 | +++ breezy/registry.py 2020-02-18 05:49:35 +0000 |
4593 | @@ -16,8 +16,6 @@ |
4594 | |
4595 | """Classes to provide name-to-object registry-like support.""" |
4596 | |
4597 | -from __future__ import absolute_import |
4598 | - |
4599 | from .pyutils import get_named_object |
4600 | |
4601 | |
4602 | |
4603 | === modified file 'breezy/rename_map.py' |
4604 | --- breezy/rename_map.py 2020-02-07 02:14:30 +0000 |
4605 | +++ breezy/rename_map.py 2020-02-18 05:49:35 +0000 |
4606 | @@ -14,8 +14,6 @@ |
4607 | # along with this program; if not, write to the Free Software |
4608 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4609 | |
4610 | -from __future__ import absolute_import |
4611 | - |
4612 | from io import BytesIO |
4613 | |
4614 | from . import ( |
4615 | |
4616 | === modified file 'breezy/repository.py' |
4617 | --- breezy/repository.py 2020-02-07 02:14:30 +0000 |
4618 | +++ breezy/repository.py 2020-02-18 05:49:35 +0000 |
4619 | @@ -14,8 +14,6 @@ |
4620 | # along with this program; if not, write to the Free Software |
4621 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4622 | |
4623 | -from __future__ import absolute_import |
4624 | - |
4625 | from .lazy_import import lazy_import |
4626 | lazy_import(globals(), """ |
4627 | import time |
4628 | |
4629 | === modified file 'breezy/revision.py' |
4630 | --- breezy/revision.py 2020-02-07 02:14:30 +0000 |
4631 | +++ breezy/revision.py 2020-02-18 05:49:35 +0000 |
4632 | @@ -14,8 +14,6 @@ |
4633 | # along with this program; if not, write to the Free Software |
4634 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4635 | |
4636 | -from __future__ import absolute_import |
4637 | - |
4638 | # TODO: Some kind of command-line display of revision properties: |
4639 | # perhaps show them in log -v and allow them as options to the commit command. |
4640 | |
4641 | |
4642 | === modified file 'breezy/revisionspec.py' |
4643 | --- breezy/revisionspec.py 2020-02-07 02:14:30 +0000 |
4644 | +++ breezy/revisionspec.py 2020-02-18 05:49:35 +0000 |
4645 | @@ -14,8 +14,6 @@ |
4646 | # along with this program; if not, write to the Free Software |
4647 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4648 | |
4649 | -from __future__ import absolute_import |
4650 | - |
4651 | |
4652 | from .lazy_import import lazy_import |
4653 | lazy_import(globals(), """ |
4654 | |
4655 | === modified file 'breezy/revisiontree.py' |
4656 | --- breezy/revisiontree.py 2018-11-16 18:33:17 +0000 |
4657 | +++ breezy/revisiontree.py 2020-02-18 05:49:35 +0000 |
4658 | @@ -16,8 +16,6 @@ |
4659 | |
4660 | """RevisionTree - a Tree implementation backed by repository data for a revision.""" |
4661 | |
4662 | -from __future__ import absolute_import |
4663 | - |
4664 | from io import BytesIO |
4665 | from . import ( |
4666 | lock, |
4667 | |
4668 | === modified file 'breezy/rio.py' |
4669 | --- breezy/rio.py 2020-02-07 02:14:30 +0000 |
4670 | +++ breezy/rio.py 2020-02-18 05:49:35 +0000 |
4671 | @@ -14,8 +14,6 @@ |
4672 | # along with this program; if not, write to the Free Software |
4673 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4674 | |
4675 | -from __future__ import absolute_import |
4676 | - |
4677 | # \subsection{\emph{rio} - simple text metaformat} |
4678 | # |
4679 | # \emph{r} stands for `restricted', `reproducible', or `rfc822-like'. |
4680 | |
4681 | === modified file 'breezy/rules.py' |
4682 | --- breezy/rules.py 2019-06-16 01:03:51 +0000 |
4683 | +++ breezy/rules.py 2020-02-18 05:49:35 +0000 |
4684 | @@ -19,8 +19,6 @@ |
4685 | See ``bzr help rules`` for details. |
4686 | """ |
4687 | |
4688 | -from __future__ import absolute_import |
4689 | - |
4690 | import configobj |
4691 | |
4692 | from . import ( |
4693 | |
4694 | === modified file 'breezy/send.py' |
4695 | --- breezy/send.py 2019-06-29 19:54:32 +0000 |
4696 | +++ breezy/send.py 2020-02-18 05:49:35 +0000 |
4697 | @@ -14,8 +14,6 @@ |
4698 | # along with this program; if not, write to the Free Software |
4699 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4700 | |
4701 | -from __future__ import absolute_import |
4702 | - |
4703 | import os |
4704 | import time |
4705 | |
4706 | |
4707 | === modified file 'breezy/shelf.py' |
4708 | --- breezy/shelf.py 2019-06-22 11:16:17 +0000 |
4709 | +++ breezy/shelf.py 2020-02-18 05:49:35 +0000 |
4710 | @@ -14,8 +14,6 @@ |
4711 | # along with this program; if not, write to the Free Software |
4712 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4713 | |
4714 | -from __future__ import absolute_import |
4715 | - |
4716 | import errno |
4717 | import re |
4718 | |
4719 | |
4720 | === modified file 'breezy/shelf_ui.py' |
4721 | --- breezy/shelf_ui.py 2020-02-07 02:14:30 +0000 |
4722 | +++ breezy/shelf_ui.py 2020-02-18 05:49:35 +0000 |
4723 | @@ -14,8 +14,6 @@ |
4724 | # along with this program; if not, write to the Free Software |
4725 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4726 | |
4727 | -from __future__ import absolute_import |
4728 | - |
4729 | import contextlib |
4730 | import patiencediff |
4731 | import shutil |
4732 | |
4733 | === modified file 'breezy/shellcomplete.py' |
4734 | --- breezy/shellcomplete.py 2018-11-11 04:08:32 +0000 |
4735 | +++ breezy/shellcomplete.py 2020-02-18 05:49:35 +0000 |
4736 | @@ -14,8 +14,6 @@ |
4737 | # along with this program; if not, write to the Free Software |
4738 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4739 | |
4740 | -from __future__ import absolute_import |
4741 | - |
4742 | import sys |
4743 | |
4744 | |
4745 | |
4746 | === modified file 'breezy/smtp_connection.py' |
4747 | --- breezy/smtp_connection.py 2020-02-07 02:14:30 +0000 |
4748 | +++ breezy/smtp_connection.py 2020-02-18 05:49:35 +0000 |
4749 | @@ -16,8 +16,6 @@ |
4750 | |
4751 | """A convenience class around smtplib.""" |
4752 | |
4753 | -from __future__ import absolute_import |
4754 | - |
4755 | from email.utils import getaddresses, parseaddr |
4756 | |
4757 | import errno |
4758 | |
4759 | === modified file 'breezy/static_tuple.py' |
4760 | --- breezy/static_tuple.py 2017-05-22 00:56:52 +0000 |
4761 | +++ breezy/static_tuple.py 2020-02-18 05:49:35 +0000 |
4762 | @@ -16,8 +16,6 @@ |
4763 | |
4764 | """Interface thunk for a StaticTuple implementation.""" |
4765 | |
4766 | -from __future__ import absolute_import |
4767 | - |
4768 | from . import debug |
4769 | |
4770 | try: |
4771 | |
4772 | === modified file 'breezy/status.py' |
4773 | --- breezy/status.py 2019-06-29 19:50:18 +0000 |
4774 | +++ breezy/status.py 2020-02-18 05:49:35 +0000 |
4775 | @@ -14,8 +14,6 @@ |
4776 | # along with this program; if not, write to the Free Software |
4777 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4778 | |
4779 | -from __future__ import absolute_import |
4780 | - |
4781 | import sys |
4782 | |
4783 | from . import ( |
4784 | |
4785 | === modified file 'breezy/strace.py' |
4786 | --- breezy/strace.py 2018-11-12 01:41:38 +0000 |
4787 | +++ breezy/strace.py 2020-02-18 05:49:35 +0000 |
4788 | @@ -17,8 +17,6 @@ |
4789 | |
4790 | """Support for running strace against the current process.""" |
4791 | |
4792 | -from __future__ import absolute_import |
4793 | - |
4794 | import os |
4795 | import signal |
4796 | import subprocess |
4797 | |
4798 | === modified file 'breezy/switch.py' |
4799 | --- breezy/switch.py 2019-06-16 19:15:57 +0000 |
4800 | +++ breezy/switch.py 2020-02-18 05:49:35 +0000 |
4801 | @@ -14,8 +14,6 @@ |
4802 | # along with this program; if not, write to the Free Software |
4803 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4804 | |
4805 | -from __future__ import absolute_import |
4806 | - |
4807 | # Original author: David Allouche |
4808 | |
4809 | from . import ( |
4810 | |
4811 | === modified file 'breezy/symbol_versioning.py' |
4812 | --- breezy/symbol_versioning.py 2019-01-04 20:49:00 +0000 |
4813 | +++ breezy/symbol_versioning.py 2020-02-18 05:49:35 +0000 |
4814 | @@ -19,8 +19,6 @@ |
4815 | The methods here allow for api symbol versioning. |
4816 | """ |
4817 | |
4818 | -from __future__ import absolute_import |
4819 | - |
4820 | __all__ = ['deprecated_function', |
4821 | 'deprecated_in', |
4822 | 'deprecated_list', |
4823 | |
4824 | === modified file 'breezy/tag.py' |
4825 | --- breezy/tag.py 2020-02-07 02:14:30 +0000 |
4826 | +++ breezy/tag.py 2020-02-18 05:49:35 +0000 |
4827 | @@ -22,8 +22,6 @@ |
4828 | Branch.tags.add('name', 'value') |
4829 | """ |
4830 | |
4831 | -from __future__ import absolute_import |
4832 | - |
4833 | from collections import defaultdict |
4834 | import contextlib |
4835 | |
4836 | |
4837 | === modified file 'breezy/terminal.py' |
4838 | --- breezy/terminal.py 2020-01-31 02:14:55 +0000 |
4839 | +++ breezy/terminal.py 2020-02-18 05:49:35 +0000 |
4840 | @@ -15,8 +15,6 @@ |
4841 | # along with this program; if not, write to the Free Software |
4842 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4843 | |
4844 | -from __future__ import absolute_import |
4845 | - |
4846 | import os |
4847 | import sys |
4848 | |
4849 | |
4850 | === modified file 'breezy/tests/__init__.py' |
4851 | --- breezy/tests/__init__.py 2020-02-13 23:57:28 +0000 |
4852 | +++ breezy/tests/__init__.py 2020-02-18 05:49:35 +0000 |
4853 | @@ -16,8 +16,6 @@ |
4854 | |
4855 | """Testing framework extensions""" |
4856 | |
4857 | -from __future__ import absolute_import |
4858 | - |
4859 | # NOTE: Some classes in here use camelCaseNaming() rather than |
4860 | # underscore_naming(). That's for consistency with unittest; it's not the |
4861 | # general style of breezy. Please continue that consistency when adding e.g. |
4862 | |
4863 | === modified file 'breezy/tests/blackbox/test_bisect.py' |
4864 | --- breezy/tests/blackbox/test_bisect.py 2019-03-05 09:17:49 +0000 |
4865 | +++ breezy/tests/blackbox/test_bisect.py 2020-02-18 05:49:35 +0000 |
4866 | @@ -17,8 +17,6 @@ |
4867 | |
4868 | """Tests of the 'brz bisect' command.""" |
4869 | |
4870 | -from __future__ import absolute_import |
4871 | - |
4872 | import os |
4873 | import shutil |
4874 | import stat |
4875 | |
4876 | === modified file 'breezy/tests/blackbox/test_log.py' |
4877 | --- breezy/tests/blackbox/test_log.py 2020-02-07 02:14:30 +0000 |
4878 | +++ breezy/tests/blackbox/test_log.py 2020-02-18 05:49:35 +0000 |
4879 | @@ -17,8 +17,6 @@ |
4880 | |
4881 | """Black-box tests for brz log.""" |
4882 | |
4883 | -from __future__ import absolute_import |
4884 | - |
4885 | |
4886 | import os |
4887 | |
4888 | |
4889 | === modified file 'breezy/tests/features.py' |
4890 | --- breezy/tests/features.py 2019-05-28 21:46:09 +0000 |
4891 | +++ breezy/tests/features.py 2020-02-18 05:49:35 +0000 |
4892 | @@ -17,8 +17,6 @@ |
4893 | """A collection of commonly used 'Features' to optionally run tests. |
4894 | """ |
4895 | |
4896 | -from __future__ import absolute_import |
4897 | - |
4898 | import importlib |
4899 | import os |
4900 | import subprocess |
4901 | |
4902 | === modified file 'breezy/tests/test__rio.py' |
4903 | --- breezy/tests/test__rio.py 2020-02-07 02:14:30 +0000 |
4904 | +++ breezy/tests/test__rio.py 2020-02-18 05:49:35 +0000 |
4905 | @@ -16,8 +16,6 @@ |
4906 | |
4907 | """Tests for _rio_*.""" |
4908 | |
4909 | -from __future__ import absolute_import |
4910 | - |
4911 | from .. import ( |
4912 | rio, |
4913 | tests, |
4914 | |
4915 | === modified file 'breezy/tests/test_bisect.py' |
4916 | --- breezy/tests/test_bisect.py 2020-02-07 02:14:30 +0000 |
4917 | +++ breezy/tests/test_bisect.py 2020-02-18 05:49:35 +0000 |
4918 | @@ -16,8 +16,6 @@ |
4919 | |
4920 | "Test suite for the bzr bisect plugin." |
4921 | |
4922 | -from __future__ import absolute_import |
4923 | - |
4924 | from io import StringIO |
4925 | import os |
4926 | import shutil |
4927 | |
4928 | === modified file 'breezy/tests/test_fetch_ghosts.py' |
4929 | --- breezy/tests/test_fetch_ghosts.py 2018-05-22 02:05:12 +0000 |
4930 | +++ breezy/tests/test_fetch_ghosts.py 2020-02-18 05:49:35 +0000 |
4931 | @@ -14,8 +14,6 @@ |
4932 | # along with this program; if not, write to the Free Software |
4933 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4934 | |
4935 | -from __future__ import absolute_import |
4936 | - |
4937 | from ..fetch_ghosts import GhostFetcher |
4938 | from . import TestCaseWithTransport |
4939 | |
4940 | |
4941 | === modified file 'breezy/tests/test_grep.py' |
4942 | --- breezy/tests/test_grep.py 2020-02-07 02:14:30 +0000 |
4943 | +++ breezy/tests/test_grep.py 2020-02-18 05:49:35 +0000 |
4944 | @@ -14,8 +14,6 @@ |
4945 | # along with this program; if not, write to the Free Software |
4946 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
4947 | |
4948 | -from __future__ import absolute_import |
4949 | - |
4950 | import os |
4951 | import re |
4952 | import unicodedata as ud |
4953 | |
4954 | === modified file 'breezy/tests/test_osutils.py' |
4955 | --- breezy/tests/test_osutils.py 2020-02-07 02:14:30 +0000 |
4956 | +++ breezy/tests/test_osutils.py 2020-02-18 05:49:35 +0000 |
4957 | @@ -16,8 +16,6 @@ |
4958 | |
4959 | """Tests for the osutils wrapper.""" |
4960 | |
4961 | -from __future__ import absolute_import, division |
4962 | - |
4963 | import errno |
4964 | from io import BytesIO |
4965 | import os |
4966 | |
4967 | === modified file 'breezy/tests/test_source.py' |
4968 | --- breezy/tests/test_source.py 2019-06-02 05:13:10 +0000 |
4969 | +++ breezy/tests/test_source.py 2020-02-18 05:49:35 +0000 |
4970 | @@ -444,23 +444,3 @@ |
4971 | error_msg.extend(('', '')) |
4972 | if error_msg: |
4973 | self.fail('\n'.join(error_msg)) |
4974 | - |
4975 | - def test_feature_absolute_import(self): |
4976 | - """Using absolute imports means avoiding unnecesary stat and |
4977 | - open calls. |
4978 | - |
4979 | - Make sure that all non-test files have absolute imports enabled. |
4980 | - """ |
4981 | - missing_absolute_import = [] |
4982 | - for fname, text in self.get_source_file_contents( |
4983 | - extensions=('.py', '.pyx')): |
4984 | - if "/tests/" in fname or "test_" in fname: |
4985 | - # We don't really care about tests |
4986 | - continue |
4987 | - if "from __future__ import absolute_import" not in text: |
4988 | - missing_absolute_import.append(fname) |
4989 | - |
4990 | - if missing_absolute_import: |
4991 | - self.fail( |
4992 | - 'The following files do not have absolute_import enabled:\n' |
4993 | - '\n' + '\n'.join(missing_absolute_import)) |
4994 | |
4995 | === modified file 'breezy/tests/test_views.py' |
4996 | --- breezy/tests/test_views.py 2018-11-11 04:08:32 +0000 |
4997 | +++ breezy/tests/test_views.py 2020-02-18 05:49:35 +0000 |
4998 | @@ -14,8 +14,6 @@ |
4999 | # along with this program; if not, write to the Free Software |
5000 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
The diff has been truncated for viewing.
There was nothing to merge /ci.breezy- vcs.org/ job/brz/ job/brz- land/717/
https:/