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 18280b14b3508f251d8ebba48cb7861fa704ccf5..912623e9a036c68d9fe4e18e6f78f62dadddeb70 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')