diff options
Diffstat (limited to 'netlib/odict.py')
-rw-r--r-- | netlib/odict.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netlib/odict.py b/netlib/odict.py index 0cd58f65..f9f55991 100644 --- a/netlib/odict.py +++ b/netlib/odict.py @@ -3,7 +3,7 @@ import copy import six -from netlib import basetypes, utils +from netlib import basetypes, strutils class ODict(basetypes.Serializable): @@ -139,9 +139,9 @@ class ODict(basetypes.Serializable): """ new, count = [], 0 for k, v in self.lst: - k, c = utils.safe_subn(pattern, repl, k, *args, **kwargs) + k, c = strutils.safe_subn(pattern, repl, k, *args, **kwargs) count += c - v, c = utils.safe_subn(pattern, repl, v, *args, **kwargs) + v, c = strutils.safe_subn(pattern, repl, v, *args, **kwargs) count += c new.append([k, v]) self.lst = new |