aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-04-21 12:48:43 -0700
committerZac Medico <zmedico@gentoo.org>2019-04-21 12:52:00 -0700
commit603ee739bd22b9df9a1ee79d5644f7ad9320733a (patch)
tree70c1e9006fe793906ffcf64a0b870044f59451f7 /lib/_emerge/depgraph.py
parentRemove internal OrderedDict implementation (diff)
downloadportage-603ee739bd22b9df9a1ee79d5644f7ad9320733a.tar.gz
portage-603ee739bd22b9df9a1ee79d5644f7ad9320733a.tar.bz2
portage-603ee739bd22b9df9a1ee79d5644f7ad9320733a.zip
Import OrderedDict directly from collections
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/_emerge/depgraph.py')
-rw-r--r--lib/_emerge/depgraph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/_emerge/depgraph.py b/lib/_emerge/depgraph.py
index 63e905cdb..32b2d7da3 100644
--- a/lib/_emerge/depgraph.py
+++ b/lib/_emerge/depgraph.py
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
from __future__ import division, print_function, unicode_literals
@@ -12,11 +12,11 @@ import stat
import sys
import textwrap
import warnings
-from collections import deque
+from collections import deque, OrderedDict
from itertools import chain
import portage
-from portage import os, OrderedDict
+from portage import os
from portage import _unicode_decode, _unicode_encode, _encodings
from portage.const import PORTAGE_PACKAGE_ATOM, USER_CONFIG_PATH, VCS_DIRS
from portage.dbapi import dbapi