Mercurial > hg
changeset 22359:e3714b927af5
error: use docstrings, not bare strings, for error classes
author | Mike Edgar <adgar@google.com> |
---|---|
date | Sat, 30 Aug 2014 12:22:20 +0200 |
parents | 198e2da3ee20 |
children | 3e483253213e |
files | mercurial/error.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/error.py Sun Aug 31 10:24:25 2014 +0200 +++ b/mercurial/error.py Sat Aug 30 12:22:20 2014 +0200 @@ -43,13 +43,13 @@ self.hint = kw.get('hint') class ConfigError(Abort): - 'Exception raised when parsing config files' + """Exception raised when parsing config files""" class OutOfBandError(Exception): - 'Exception raised when a remote repo reports failure' + """Exception raised when a remote repo reports failure""" class ParseError(Exception): - 'Exception raised when parsing config files (msg[, pos])' + """Exception raised when parsing config files (msg[, pos])""" class RepoError(Exception): def __init__(self, *args, **kw):