diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-16 01:28:22 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-16 01:28:22 +0000 |
commit | 18c988584852c55001c5ce07a3a32addbbdbb5c0 (patch) | |
tree | 4e23449abd1fda6200661007b42fe9c9fbf2a50c | |
parent | 02380f9201ef95657f76c74a87403133fbd0587d (diff) | |
download | portage-18c988584852c55001c5ce07a3a32addbbdbb5c0.tar.gz portage-18c988584852c55001c5ce07a3a32addbbdbb5c0.tar.bz2 portage-18c988584852c55001c5ce07a3a32addbbdbb5c0.zip |
s/config_protect/ConfigProtect/ for the class name.
svn path=/main/trunk/; revision=3894
-rw-r--r-- | pym/portage.py | 6 |
1 files changed, 3 insertions, 3 deletions
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): |