aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-08-06 21:12:15 -0400
committerZac Medico <zmedico@gentoo.org>2020-08-06 19:53:12 -0700
commitd695d866e4e7b2ab79264508f1520f89a5585e04 (patch)
treec574f7ccb007d78ff998c3633de9daa893406f72 /lib/_emerge/depgraph.py
parentlib/*: exempt two core files from ungrouped-imports check (diff)
downloadportage-d695d866e4e7b2ab79264508f1520f89a5585e04.tar.gz
portage-d695d866e4e7b2ab79264508f1520f89a5585e04.tar.bz2
portage-d695d866e4e7b2ab79264508f1520f89a5585e04.zip
*: drop all import __future__ statements
* We only support Py3 now. Signed-off-by: Aaron Bauman <bman@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/_emerge/depgraph.py')
-rw-r--r--lib/_emerge/depgraph.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/_emerge/depgraph.py b/lib/_emerge/depgraph.py
index 0810cdaf1..e071be8df 100644
--- a/lib/_emerge/depgraph.py
+++ b/lib/_emerge/depgraph.py
@@ -1,9 +1,6 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-from __future__ import division, print_function
-
-import collections
import errno
import functools
import io
@@ -11,6 +8,7 @@ import logging
import stat
import textwrap
import warnings
+import collections
from collections import deque, OrderedDict
from itertools import chain