Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unification of settings' and headers' format by YAML. #3

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

mark-kubacki
Copy link

By this request you will unify the format of settings.cfg and the headers. This is done by replacing ConfigParser and the former key:value parsing method by _YAML_. The latter, although more general and thus slower, will enable easier modifications and extensions in PyLL's future.

It is as exact as the previously used formats.
Unluckily, it shares one of the former drawbacks, too: In case of an user forgetting to define headers and setting e.g., "Operation: XYZ" as first line, that one is wrongly regarded as header. A problem which cannot be solved in an other way than insisting on at least one header line, the title.

Settings.cfg is short and can easily be rewritten. Header's format already is a subset of YAML, therefore nothing needs to be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants