use EROOT with WORLD_SETS_FILE
authorFabian Groffen <grobian@gentoo.org>
Sat, 4 Sep 2010 18:17:42 +0000 (20:17 +0200)
committerFabian Groffen <grobian@gentoo.org>
Sat, 4 Sep 2010 18:17:42 +0000 (20:17 +0200)
pym/_emerge/unmerge.py

index bbed031713401bcb647faa1dafa26d7dc8c7945e..8e26e62564b40ca4f84b235fa316b8f6e98a025f 100644 (file)
@@ -342,7 +342,7 @@ def unmerge(root_config, myopts, unmerge_action,
                                        unknown_sets.add(s)
                                        out = portage.output.EOutput()
                                        out.eerror(("Unknown set '@%s' in %s%s") % \
-                                               (s, root_config.root, portage.const.WORLD_SETS_FILE))
+                                               (s, root_config.settings['EROOT'], portage.const.WORLD_SETS_FILE))
                                        continue
 
                                # only check instances of EditablePackageSet as other classes are generally used for