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
This commit is contained in:
lxnay
2009-01-31 14:53:08 +00:00
parent 22c2b19b2b
commit 1528342dfb
+2
View File
@@ -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