Commit 4dbc2e9c authored by Guido van Rossum's avatar Guido van Rossum

If the section has a non-empty name, set args["name"] to section.name.

parent 840c4cd4
......@@ -65,6 +65,8 @@ def getStorageInfo(section):
klass = getattr(m, type)
args = {}
if section.name:
args["name"] = section.name
for key in section.keys():
if key.lower() != "type":
args[key] = section.get(key)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment