diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-02-13 19:22:24 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-02-13 19:22:24 +0000 |
commit | 291af5a24e5674d3e1556081b479603caf1bc889 (patch) | |
tree | 066314410b4db91246bc13e257e6fc2751b12f6c | |
parent | 91a03f6b16fa6ddfc32ac215ef5d9d938a6b3ae9 (diff) | |
download | portage-291af5a24e5674d3e1556081b479603caf1bc889.tar.gz portage-291af5a24e5674d3e1556081b479603caf1bc889.tar.bz2 portage-291af5a24e5674d3e1556081b479603caf1bc889.zip |
Fix missing imports.
svn path=/main/trunk/; revision=5960
-rw-r--r-- | pym/portage/dbapi/vartree.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 4afe4a247..99cd9e7be 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1,6 +1,6 @@ from portage.checksum import perform_md5 -from portage.const import VDB_PATH, CACHE_PATH -from portage.data import portage_gid, portage_uid +from portage.const import CACHE_PATH, CONFIG_MEMORY_FILE, PRIVATE_PATH, VDB_PATH +from portage.data import portage_gid, portage_uid, secpass from portage.dbapi import dbapi from portage.dep import dep_getslot, use_reduce, paren_reduce, isvalidatom, \ isjustname, dep_getkey, match_from_list @@ -1505,7 +1505,7 @@ class dblink(object): destroot = normalize_path(destroot).rstrip(sep) + sep # this is supposed to merge a list of files. There will be 2 forms of argument passing. - if type(stufftomerge) == types.StringType: + if isinstance(stufftomerge, basestring): #A directory is specified. Figure out protection paths, listdir() it and process it. mergelist = listdir(join(srcroot, stufftomerge)) offset = stufftomerge |