summaryrefslogtreecommitdiffstats
path: root/format.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-06-04 22:31:27 +0200
committerJan Pokorný <jpokorny@redhat.com>2014-06-04 22:31:27 +0200
commit5e572cc48f87e1847637c725eb1b749cd04ee5db (patch)
tree1923b87da7aecde97b4988ae0472a11c8d91e4fe /format.py
parent83df36426bc4f1ee1a902ae5937df9dcd143e70a (diff)
downloadclufter-5e572cc48f87e1847637c725eb1b749cd04ee5db.tar.gz
clufter-5e572cc48f87e1847637c725eb1b749cd04ee5db.tar.xz
clufter-5e572cc48f87e1847637c725eb1b749cd04ee5db.zip
utils: fix braino in naming: mutable -> immutable
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'format.py')
-rw-r--r--format.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/format.py b/format.py
index 4849dbc..c36488e 100644
--- a/format.py
+++ b/format.py
@@ -22,7 +22,7 @@ from .error import ClufterError
from .plugin_registry import MetaPlugin, PluginRegistry
from .utils import arg2wrapped, args2tuple, args2unwrapped, \
classproperty, \
- mutable, \
+ immutable, \
tuplist
from .utils_xml import rng_pivot
@@ -198,7 +198,7 @@ class Format(object):
# computed -> stored normalization
self.swallow(protocol, *arg2wrapped(produced))
- if protect and not protect_safe and not mutable(produced):
+ if protect and not protect_safe and not immutable(produced):
log.debug("{0}:{1}:Forced deepcopy of `{2}' instance"
.format(self.__class__.name, meth.__name__,
type(produced).__name__))