Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Removed unnecessary semicolons.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Oct 10, 2013
1 parent 9700194 commit ff9e8ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions django/utils/jslex.py
Expand Up @@ -203,7 +203,7 @@ def escape_quotes(m):
if name == 'regex':
# C doesn't grok regexes, and they aren't needed for gettext,
# so just output a string instead.
tok = '"REGEX"';
tok = '"REGEX"'
elif name == 'string':
# C doesn't have single-quoted strings, so make all strings
# double-quoted.
Expand All @@ -214,6 +214,6 @@ def escape_quotes(m):
# C can't deal with Unicode escapes in identifiers. We don't
# need them for gettext anyway, so replace them with something
# innocuous
tok = tok.replace("\\", "U");
tok = tok.replace("\\", "U")
c.append(tok)
return ''.join(c)
2 changes: 1 addition & 1 deletion tests/forms_tests/tests/test_forms.py
Expand Up @@ -1899,7 +1899,7 @@ def to_python(self, value):
class JSONForm(forms.Form):
json = CustomJSONField()

form = JSONForm(data={'json': '{}'});
form = JSONForm(data={'json': '{}'})
form.full_clean()
self.assertEqual(form.cleaned_data, {'json' : {}})

Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils/tests.py
Expand Up @@ -307,7 +307,7 @@ def test_html_parser(self):
self.assertEqual(dom[0], 'foo')

def test_parse_html_in_script(self):
parse_html('<script>var a = "<p" + ">";</script>');
parse_html('<script>var a = "<p" + ">";</script>')
parse_html('''
<script>
var js_sha_link='<p>***</p>';
Expand Down

0 comments on commit ff9e8ec

Please sign in to comment.