From 18c988584852c55001c5ce07a3a32addbbdbb5c0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 16 Jul 2006 01:28:22 +0000 Subject: s/config_protect/ConfigProtect/ for the class name. svn path=/main/trunk/; revision=3894 --- pym/portage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pym/portage.py') diff --git a/pym/portage.py b/pym/portage.py index 68d12fbbe..09e8d3744 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5791,7 +5791,7 @@ class binarytree(packagetree): pass return myslot -class config_protect(object): +class ConfigProtect(object): def __init__(self, myroot, protect_list, mask_list): self.myroot = myroot self.protect_list = protect_list @@ -5860,7 +5860,7 @@ class dblink: raise ValueError self.myroot=myroot - protect_obj = config_protect(myroot, + protect_obj = ConfigProtect(myroot, mysettings.get("CONFIG_PROTECT","").split(), mysettings.get("CONFIG_PROTECT_MASK","").split()) self.updateprotect = protect_obj.updateprotect @@ -6990,7 +6990,7 @@ def update_config_files(config_root, protect, protect_mask, update_iter): write_atomic(os.path.join(config_root, WORLD_FILE), "\n".join(worldlist)) - protect_obj = config_protect(config_root, protect, protect_mask) + protect_obj = ConfigProtect(config_root, protect, protect_mask) for x in update_files: updating_file = os.path.join(abs_user_config, x) if protect_obj.isprotected(updating_file): -- cgit v1.2.3-1-g7c22