From: W. Trevor King Date: Thu, 16 Feb 2012 13:27:38 +0000 (-0500) Subject: Use ConfigParser instead of deprecated RawConfigParser. X-Git-Tag: v0.3~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d13ca4414b460ed9fb3e4c94b9453a480d70bd2c;p=update-copyright.git Use ConfigParser instead of deprecated RawConfigParser. --- 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')