Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/meeting.py
diff options
context:
space:
mode:
Diffstat (limited to 'meeting.py')
-rw-r--r--meeting.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/meeting.py b/meeting.py
index 88730b2..00e04ca 100644
--- a/meeting.py
+++ b/meeting.py
@@ -194,7 +194,15 @@ class Config(object):
getattr(self, '_filename', None) )
):
continue
- text = writer.format(extension)
+ # Parse embedded arguments
+ if '|' in extension:
+ extension, args = extension.split('|', 1)
+ args = args.split('|')
+ args = dict([a.split('=', 1) for a in args] )
+ else:
+ args = { }
+
+ text = writer.format(extension, **args)
results[extension] = text
# If the writer returns a string or unicode object, then
# we should write it to a filename with that extension.