aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-11-27 19:10:09 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2016-11-28 09:44:20 +0100
commitdfb35db6d3971e041e3f56fcc5ce665889058cad (patch)
treeeb161343dfbe124bb2cb549aa49a98525fd6f943 /python/tidy/servo_tidy
parent7d69f53794c9f823d524d0d4382c04c4a57bea65 (diff)
downloadservo-dfb35db6d3971e041e3f56fcc5ce665889058cad.tar.gz
servo-dfb35db6d3971e041e3f56fcc5ce665889058cad.zip
Move to Cargo workspaces
Diffstat (limited to 'python/tidy/servo_tidy')
-rw-r--r--python/tidy/servo_tidy/tidy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py
index 005a1bed24a..18bfcb6713e 100644
--- a/python/tidy/servo_tidy/tidy.py
+++ b/python/tidy/servo_tidy/tidy.py
@@ -359,6 +359,8 @@ def check_toml(file_name, lines):
raise StopIteration
ok_licensed = False
for idx, line in enumerate(lines):
+ if idx == 0 and "[workspace]" in line:
+ raise StopIteration
if line.find("*") != -1:
yield (idx + 1, "found asterisk instead of minimum version number")
for license_line in licenses_toml: