Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Unified Diff: tools/lua/gradients.py

Issue 2150663002: Add verb field in scraping scripts (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/lua/gradients.lua ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lua/gradients.py
diff --git a/tools/lua/gradients.py b/tools/lua/gradients.py
index f3dd13619fd4bbb46630efaceb3f627cb8fb5ee8..0fa4c49775d3c09d8a380461bfc6ad19982e14cd 100755
--- a/tools/lua/gradients.py
+++ b/tools/lua/gradients.py
@@ -17,6 +17,7 @@ def create_database(inpath, outpath):
TileMode TEXT,
EvenlySpaced INTEGER,
HardStopCount INTEGER,
+ Verb TEXT,
Positions TEXT
)''');
c.execute("DELETE FROM gradients");
@@ -26,7 +27,7 @@ def create_database(inpath, outpath):
for line in [line.strip() for line in results]:
gradients.append(line.split());
- c.executemany("INSERT INTO gradients VALUES (?, ?, ?, ?, ?, ?)",
+ c.executemany("INSERT INTO gradients VALUES (?, ?, ?, ?, ?, ?, ?)",
gradients);
conn.commit();
« no previous file with comments | « tools/lua/gradients.lua ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698