Mercurial > public > mercurial-scm > hg-stable
diff mercurial/error.py @ 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 | fecead61d222 |
children | 244478687edd |
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):