Submitter | phabricator |
---|---|
Date | April 16, 2018, 11:22 p.m. |
Message ID | <1a03821c97e2787d8de01ec8f8079c93@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/31141/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/utils/stringutil.py b/mercurial/utils/stringutil.py --- a/mercurial/utils/stringutil.py +++ b/mercurial/utils/stringutil.py @@ -42,6 +42,8 @@ return '%d' % o elif isinstance(o, float): return '%f' % o + elif o is None: + return b'None' else: raise error.ProgrammingError('do not know how to format %r' % o)