summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-06 17:42:56 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-06 17:42:56 -0700
commit9ae70ccd959e5584ccf4f972b0387240ccdd3898 (patch)
tree5761576bf71cd17f934a29a6d2d69a78dcb0589c
parent12c645c3bbae062d06e7e52ab1d03d23ec6b7e84 (diff)
downloadportage-9ae70ccd959e5584ccf4f972b0387240ccdd3898.tar.gz
portage-9ae70ccd959e5584ccf4f972b0387240ccdd3898.tar.bz2
portage-9ae70ccd959e5584ccf4f972b0387240ccdd3898.zip
Force absolute import in glsa.py since otherwise the xml.dom.minidom
import tries to use the new portage.xml module.
-rw-r--r--pym/portage/glsa.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py
index 6267b2cc0..116003a5d 100644
--- a/pym/portage/glsa.py
+++ b/pym/portage/glsa.py
@@ -1,6 +1,8 @@
-# Copyright 2003-2007 Gentoo Foundation
+# Copyright 2003-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+from __future__ import absolute_import
+
import codecs
import sys
try: