error: use docstrings, not bare strings, for error classes
authorMike Edgar <adgar@google.com>
Sat, 30 Aug 2014 12:22:20 +0200
changeset 22359 e3714b927af5
parent 22358 198e2da3ee20
child 22360 3e483253213e
error: use docstrings, not bare strings, for error classes
mercurial/error.py
--- 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):