From d13ca4414b460ed9fb3e4c94b9453a480d70bd2c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 16 Feb 2012 08:27:38 -0500 Subject: [PATCH] Use ConfigParser instead of deprecated RawConfigParser. --- update_copyright/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_copyright/project.py b/update_copyright/project.py index 18280b1..912623e 100644 --- a/update_copyright/project.py +++ b/update_copyright/project.py @@ -89,7 +89,7 @@ class Project (object): self._copyright_tag = '-xyz-COPY' + '-RIGHT-zyx-' def load_config(self, stream): - p = _configparser.RawConfigParser() + p = _configparser.ConfigParser(interpolation=None) p.readfp(stream) try: self._name = p.get('project', 'name') -- 2.26.2