| Index: git_cl.py
|
| diff --git a/git_cl.py b/git_cl.py
|
| index 759caf6a87c7e48c380d954d4d39c1ff52c9a758..f68e4930eb38d5b4145dd0dbc0f6de732ca13ac0 100755
|
| --- a/git_cl.py
|
| +++ b/git_cl.py
|
| @@ -717,12 +717,7 @@ def FindCodereviewSettingsFile(filename='codereview.settings'):
|
|
|
| def LoadCodereviewSettingsFromFile(fileobj):
|
| """Parse a codereview.settings file and updates hooks."""
|
| - keyvals = {}
|
| - for line in fileobj.read().splitlines():
|
| - if not line or line.startswith("#"):
|
| - continue
|
| - k, v = line.split(": ", 1)
|
| - keyvals[k] = v
|
| + keyvals = gclient_utils.ParseCodereviewSettingsContent(fileobj.read())
|
|
|
| def SetProperty(name, setting, unset_error_ok=False):
|
| fullname = 'rietveld.' + name
|
|
|