Mercurial > python-hglib
diff hglib/util.py @ 134:1b47146a4a2c 1.4
style: fix long lines
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 30 Sep 2014 12:48:04 -0500 |
parents | f98d6e234cd9 |
children | ea80bd2775f6 |
line wrap: on
line diff
--- a/hglib/util.py Tue Sep 30 11:23:15 2014 -0500 +++ b/hglib/util.py Tue Sep 30 12:48:04 2014 -0500 @@ -103,10 +103,10 @@ return cmd class reterrorhandler(object): - """ - This class is meant to be used with rawcommand() error handler argument. - It remembers the return value the command returned if it's one of allowed - values, which is only 1 if none are given. Otherwise it raises a CommandError. + """This class is meant to be used with rawcommand() error handler + argument. It remembers the return value the command returned if + it's one of allowed values, which is only 1 if none are given. + Otherwise it raises a CommandError. >>> e = reterrorhandler('') >>> bool(e) @@ -115,6 +115,7 @@ 'a' >>> bool(e) False + """ def __init__(self, args, allowed=None): self.args = args