Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pump, Cedric
lab-tracing
Commits
95e81420
Commit
95e81420
authored
Dec 26, 2020
by
Nane Kratzke
Browse files
debugging
parent
69de153b
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiphop/service.py
View file @
95e81420
...
...
@@ -32,11 +32,10 @@ def index():
@
app
.
route
(
'/hip'
)
def
hip
():
r
=
""
r
=
None
try
:
r
=
requests
.
get
(
f
"http://
{
service
}
-
{
tier
+
1
}
"
,
allow_redirects
=
True
)
.
content
r
=
requests
.
get
(
f
"http://
{
service
}
-
{
tier
+
1
}
"
,
allow_redirects
=
True
)
print
(
r
)
r
=
f
"-
{
r
}
"
except
Exception
as
ex
:
print
(
ex
)
return
f
"hop-
{
tier
}{
r
}
"
return
f
"
hw
hop-
{
tier
}{
r
.
content
}
"
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