Skip to content

Commit

Permalink
Parsers: Don't take colon for key-value seperation
Browse files Browse the repository at this point in the history
We already use colons to indicate key/values in dicts so let's keep it
simple and use only `=` for settings.
  • Loading branch information
sils committed May 21, 2015
1 parent f173e99 commit a7d1bc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coalib/parsing/ConfParser.py
Expand Up @@ -10,7 +10,7 @@

class ConfParser(SectionParser):
def __init__(self,
key_value_delimiters=['=', ':'],
key_value_delimiters=['='],
comment_seperators=['#', ';', '//'],
key_delimiters=[',', ' '],
section_name_surroundings={'[': "]"}):
Expand Down
2 changes: 1 addition & 1 deletion coalib/parsing/LineParser.py
Expand Up @@ -4,7 +4,7 @@

class LineParser:
def __init__(self,
key_value_delimiters=['=', ':'],
key_value_delimiters=['='],
comment_seperators=['#', ';', '//'],
key_delimiters=[',', ' '],
section_name_surroundings={'[': "]"},
Expand Down

1 comment on commit a7d1bc9

@Udayan12167
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack.

Please sign in to comment.