Fix issue with nested interpolation

This commit is contained in:
Ivan Kravets committed 2022-05-04 14:52:11 +03:00
1 parent 38906478d3
commit 653f22f85b
2 files changed
+24 -1

No files matched your search

+1 -1
View File
@@ -300,7 +300,7 @@ class ProjectConfigBase(object):
return parent_section[4:]
# handle nested calls
try:
value = self.getraw(section, option)
value = self.get(section, option)
except RecursionError:
raise exception.ProjectOptionValueError(
"Infinite recursion has been detected", option, section