Patchwork [1,of,4] revset: remove doubled space

login
register
mail settings
Submitter Augie Fackler
Date Oct. 7, 2016, 12:50 p.m.
Message ID <da814a1e51a7c97d0b4a.1475844645@augie-macbookair2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/16885/
State Superseded
Headers show

Comments

Augie Fackler - Oct. 7, 2016, 12:50 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1475841810 14400
#      Fri Oct 07 08:03:30 2016 -0400
# Node ID da814a1e51a7c97d0b4a1a7519bdca87802e4e6d
# Parent  f3a2125968377fb1d4b9ea3f4917260d5aca3536
revset: remove doubled space

Patch

diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -177,7 +177,7 @@  keywords = set(['and', 'or', 'not'])
                       if c.isalnum() or c in '._@' or ord(c) > 127)
 
 # default set of valid characters for non-initial letters of symbols
-_symletters = set(c for c in  [chr(i) for i in xrange(256)]
+_symletters = set(c for c in [chr(i) for i in xrange(256)]
                   if c.isalnum() or c in '-._/@' or ord(c) > 127)
 
 def tokenize(program, lookup=None, syminitletters=None, symletters=None):