projects
/
update-copyright.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use ConfigParser instead of deprecated RawConfigParser.
[update-copyright.git]
/
update_copyright
/
project.py
diff --git
a/update_copyright/project.py
b/update_copyright/project.py
index 18280b14b3508f251d8ebba48cb7861fa704ccf5..912623e9a036c68d9fe4e18e6f78f62dadddeb70 100644
(file)
--- 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')