Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
42d321fe
Commit
42d321fe
authored
Sep 09, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generate_report.py: hard code sql statement at top level not inside function
parent
9a004914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
greentest/generate_report.py
greentest/generate_report.py
+3
-1
No files found.
greentest/generate_report.py
View file @
42d321fe
...
...
@@ -32,6 +32,8 @@ from pprint import pprint
REPO_URL
=
'http://bitbucket.org/denis/gevent'
row_def
=
[
'testname'
]
column_def
=
[
'python'
,
'changeset'
,
'libevent_version'
,
'libevent_method'
]
SQL
=
'select * from testresult'
CSS
=
"""
a.x
...
...
@@ -71,7 +73,7 @@ th.row
def
make_table
(
database
,
row
,
column
):
c
=
sqlite3
.
connect
(
database
)
res
=
c
.
execute
((
'select * from testresult where output!=""'
))
res
=
c
.
execute
((
SQL
))
columns
=
[
x
[
0
].
lower
()
for
x
in
res
.
description
]
table
=
{}
row_set
=
set
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment