summaryrefslogtreecommitdiff
path: root/pbr/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pbr/util.py')
-rw-r--r--pbr/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbr/util.py b/pbr/util.py
index c7d3402..63566eb 100644
--- a/pbr/util.py
+++ b/pbr/util.py
@@ -201,7 +201,7 @@ def cfg_to_args(path='setup.cfg'):
"""
# The method source code really starts here.
- parser = configparser.RawConfigParser()
+ parser = configparser.SafeConfigParser()
if not os.path.exists(path):
raise DistutilsFileError("file '%s' does not exist" %
os.path.abspath(path))