Commit a359e09
Refactor HTML response code (GoogleCloudPlatform#974)
* Refactor HTML response code
Make the response writing more readable by pulling the HTML into a format string.
* Inline the response template string
Reduce some of the indirection.
* Fix lint error1 parent e6e8b76 commit a359e09Copy full SHA for a359e09
1 file changed
+30-15Lines changed: 30 additions & 15 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- appengine/standard/ndb/overview
Expand file treeCollapse file tree
Open diff view settings
Collapse file
appengine/standard/ndb/overview/main.py
Copy file name to clipboardExpand all lines: appengine/standard/ndb/overview/main.py+30-15Lines changed: 30 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
| 25 | + |
25 | 26 | |
26 | 27 | |
27 | 28 | |
| ||
48 | 49 | |
49 | 50 | |
50 | 51 | |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | 52 | |
56 | 53 | |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
68 | 83 | |
69 | 84 | |
70 | 85 | |
|
0 commit comments