From 1528342dfb3243db97a741c6cd65dd055ef26f8e Mon Sep 17 00:00:00 2001 From: lxnay Date: Sat, 31 Jan 2009 14:53:08 +0000 Subject: [PATCH] Entropy/EquoInterface: - __remove_content_from_system(): when spawning _handle_config_protect, always encode tofile from utf-8 git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2972 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/entropy.py b/libraries/entropy.py index cfc04da75..d3e1ea554 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -4599,6 +4599,8 @@ class PackageInterface: protected = False if (not self.infoDict['removeconfig']) and (not self.infoDict['diffremoval']): protected_item_test = sys_root+item + if isinstance(protected_item_test,unicode): + protected_item_test = protected_item_test.encode('utf-8') protected, x, do_continue = self._handle_config_protect(protect, mask, None, protected_item_test, do_allocation_check = False) if do_continue: protected = True