Unreviewed. Fix code indentation and spacing.
authorrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Feb 2014 12:19:19 +0000 (12:19 +0000)
committerrego@igalia.com <rego@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Feb 2014 12:19:19 +0000 (12:19 +0000)
Patch by Diego Pino Garcia <dpino@igalia.com> on 2014-02-24

* Scripts/webkitpy/style/checkers/js.py:
(SingleQuoteChecker.check):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164582 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/style/checkers/js.py

index 6569d8f..ec27c86 100644 (file)
@@ -1,3 +1,10 @@
+2014-02-24  Diego Pino Garcia  <dpino@igalia.com>
+
+        Unreviewed. Fix code indentation and spacing.
+
+        * Scripts/webkitpy/style/checkers/js.py:
+        (SingleQuoteChecker.check):
+
 2014-02-24  Krzysztof Czech  <k.czech@samsung.com>
 
         [ATK] Wrong selected element at a given index in a list box.
index 20bec38..68bb623 100644 (file)
@@ -71,13 +71,13 @@ class SingleQuoteChecker(object):
                 in_multiline_comment = True
                 continue
 
-            #  Remove "double quoted" strings.
+            # Remove "double quoted" strings.
             line = re.sub(r'"(?:[^"\\]|\\.)*"', '""', line)
 
             # Remove single line comment if any.
             single_line_comment_pos = line.find('//')
             if (single_line_comment_pos != -1):
-                    line = line[:single_line_comment_pos]
+                line = line[:single_line_comment_pos]
 
             # The whole line was a single line comment, so continue.
             if (len(line) == 0):