Skip empty sections when saving to file

Registered by Martin Preisler

Right now varconf dumps all sections but only variables with given scope to the resulting file. I think the resulting file shouldn't contain empty sections (sections with no variables with given scope).

Blueprint information

Status:
Not started
Approver:
None
Priority:
High
Drafter:
None
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

This should preferably be an option in the export method, and default to false.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.