Get rid of __future__ imports
Review Request #11944 — Created Jan. 20, 2022 and submitted — Latest diff uploaded
Now that Djblets is Python 3.7+, we don't need to import stuff from
__future__
in every file. This change does that, and removes some old
leftover per-file copyright headers while I'm in there.
Ran unit tests.
Diff Revision 2 (Latest)
orig
1
2
Commits
Files
djblets/siteconfig/management/commands/list-siteconfig.py |
---|
djblets/siteconfig/management/commands/set-siteconfig.py |
---|
djblets/template/apps.py |
---|
djblets/template/caches.py |
---|
djblets/template/context.py |
---|
djblets/template/loaders/conditional_cached.py |
---|
djblets/template/loaders/namespaced_app_dirs.py |
---|
djblets/template/tests/test_caches.py |
---|
djblets/template/tests/templatetags/template_tests.py |
---|
djblets/testing/decorators.py |
---|
djblets/testing/testcases.py |
---|
djblets/testing/testrunners.py |
---|
djblets/testing/urls.py |
---|
djblets/urls/context_processors.py |
---|
djblets/urls/patterns.py |
---|
djblets/urls/resolvers.py |
---|
djblets/urls/root.py |
---|
djblets/urls/staticfiles.py |
---|
djblets/urls/tests.py |
---|
djblets/util/apps.py |
---|