Bug 1344834 - Enable flake8 rule E501: 'line too long (113 > 99 characters)'. r=Dexter

This commit is contained in:
Avikalpa Kundu
2017-05-03 06:38:00 +02:00
parent 37ca18f7a1
commit c2cf02e97d
7 changed files with 48 additions and 30 deletions

View File

@@ -95,7 +95,8 @@ class StringTable:
f.write("const char %s[] = {\n" % name)
for (string, offset) in entries:
if "*/" in string:
raise ValueError("String in string table contains unexpected sequence '*/': %s" % string)
raise ValueError("String in string table contains unexpected sequence '*/': %s" %
string)
e = explodeToCharArray(string)
if e: