Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
apachedex
Commits
058d04c2
Commit
058d04c2
authored
Apr 11, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Re-introduce --js and --js-embed when pkg_resource is available.
parent
499e12b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apachedex/__init__.py
apachedex/__init__.py
+2
-2
No files found.
apachedex/__init__.py
View file @
058d04c2
...
@@ -963,8 +963,8 @@ def asHTML(out, encoding, per_site, args, default_site, period_parameter_dict,
...
@@ -963,8 +963,8 @@ def asHTML(out, encoding, per_site, args, default_site, period_parameter_dict,
apdex_y_min
=
hit_y_min
=
None
apdex_y_min
=
hit_y_min
=
None
out
.
write
(
'<!DOCTYPE html>
\
n
<html><head><meta charset="%s">'
out
.
write
(
'<!DOCTYPE html>
\
n
<html><head><meta charset="%s">'
'<title>Stats</title>'
%
encoding
)
'<title>Stats</title>'
%
encoding
)
js_path
=
getattr
(
args
,
'js'
,
None
)
js_path
=
args
.
js
js_embed
=
getattr
(
args
,
'js_embed'
,
js_path
is
None
)
js_embed
=
js_path
is
None
or
args
.
js_embed
if
js_embed
:
if
js_embed
:
out
.
write
(
'<style>'
)
out
.
write
(
'<style>'
)
out
.
write
(
getResource
(
'apachedex.css'
))
out
.
write
(
getResource
(
'apachedex.css'
))
...
...
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