]> git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
Merge branch 'master' of git://de.git.xonotic.org/xonotic/xonotic.wiki
authorMartin Taibr <taibr.martin@gmail.com>
Fri, 20 Oct 2017 13:11:54 +0000 (15:11 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Fri, 20 Oct 2017 13:11:54 +0000 (15:11 +0200)
1  2 
assets/check-and-fix.py

index 957eccbfec5db24aa06e3d189db82a988fc10ae0,92ef9a3cbc4497532a479c805981a5578fc67310..f69d206703ee1b0a6149c9491e240abf35de96e3
@@@ -31,7 -31,7 +31,7 @@@ def compile_regex(rgx: str)
      # regex (unlike re) supports non-constant length look-behinds
      return regex.compile(
          "".join(
-             [line.strip() for line in rgx.split('\n')]))
 -            [line.lstrip() for line in rgx]))
++            [line.lstrip() for line in rgx.split('\n')]))
  
  
  # examples: