Use ConfigParser instead of deprecated RawConfigParser.
authorW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 13:27:38 +0000 (08:27 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 13:27:38 +0000 (08:27 -0500)
update_copyright/project.py

index 18280b1..912623e 100644 (file)
@@ -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')