Fix rowspan, colspan on TDs.
The export script was dropping them prior to this CL.
Bug: 1267385
Change-Id: Ida17e0b9a5d6c2aa98a2ad3eeae9d79f2f74635c
Reviewed-on: https://chromium-review.googlesource.com/c/website/+/3265747
Auto-Submit: Dirk Pranke <dpranke@google.com>
Reviewed-by: Gary Tong <gatong@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
diff --git a/scripts/export.py b/scripts/export.py
index 93c775f..8fa6ab4 100755
--- a/scripts/export.py
+++ b/scripts/export.py
@@ -126,14 +126,12 @@
def _find_entry_by_path(path, entries, parents):
- seen = set()
for entry in entries.values():
if entry['kind'] not in ('webpage', 'listpage',
'announcmentspage', 'filecabinet'):
continue
entry_path = _path(entry, entries, parents)
- seen.add(entry_path)
- if '/' + entry_path == path:
+ if entry_path == path:
return entry
return None
@@ -206,7 +204,6 @@
content = fp.read()
did_update = common.write_if_changed(path, content)
except (HTTPError, URLError, TimeoutError) as e:
- import pdb; pdb.set_trace()
err = 'Error: %s' % e
elif entry['kind'] == 'comment':