diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 19:29:36 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 19:30:48 +0100 |
commit | 4c3512a45c9a5adc68eafc06eb69f438a3097a3c (patch) | |
tree | 00ff3e70a3157b96f5c3e343701f1cc82363e611 /synapse/config | |
parent | Error code must be an integer (diff) | |
download | synapse-4c3512a45c9a5adc68eafc06eb69f438a3097a3c.tar.xz |
Added a TODO note about YAML modeline for editors
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/_base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py index 7dc68230bd..35bcece2c0 100644 --- a/synapse/config/_base.py +++ b/synapse/config/_base.py @@ -119,6 +119,9 @@ class Config(object): and value is not None): config[key] = value with open(config_args.config_path, "w") as config_file: + # TODO(paul) it would be lovely if we wrote out vim- and emacs- + # style mode markers into the file, to hint to people that + # this is a YAML file. yaml.dump(config, config_file, default_flow_style=False) sys.exit(0) |