summaryrefslogtreecommitdiffstats
path: root/pym/cache/template.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-18 03:54:07 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-18 03:54:07 +0000
commit6d59eb3641681aeb06a6ecee7582a286f47a0a91 (patch)
tree37ef69ae3924a312da74f9c263c76faba195333f /pym/cache/template.py
parente628db83f211c9d922ff4aa4da09e822cb3d883f (diff)
downloadportage-6d59eb3641681aeb06a6ecee7582a286f47a0a91.tar.gz
portage-6d59eb3641681aeb06a6ecee7582a286f47a0a91.tar.bz2
portage-6d59eb3641681aeb06a6ecee7582a286f47a0a91.zip
Replace relative imports with absolute imports for forward compatibility with python 2.6.
svn path=/main/trunk/; revision=4470
Diffstat (limited to 'pym/cache/template.py')
-rw-r--r--pym/cache/template.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/cache/template.py b/pym/cache/template.py
index 7389a142e..ff2bbeacf 100644
--- a/pym/cache/template.py
+++ b/pym/cache/template.py
@@ -3,8 +3,9 @@
# License: GPL2
# $Id$
-import cache_errors
-from mappings import ProtectedDict
+from cache import cache_errors
+from cache.cache_errors import InvalidRestriction
+from cache.mappings import ProtectedDict
class database(object):
# this is for metadata/cache transfer.