Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DQSegDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
DQSegDB Server
Commits
c6abd61e
Unverified
Commit
c6abd61e
authored
2 years ago
by
Duncan Macleod
Browse files
Options
Downloads
Patches
Plain Diff
Request.py: fix urlparse import for py2
parent
73ea6b90
Branches
main
No related tags found
No related merge requests found
Pipeline
#501455
passed
2 years ago
Stage: Syntax check
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Request.py
+4
-1
4 additions, 1 deletion
src/Request.py
with
4 additions
and
1 deletion
src/Request.py
+
4
−
1
View file @
c6abd61e
...
@@ -33,7 +33,10 @@ import Admin
...
@@ -33,7 +33,10 @@ import Admin
import
DAO
import
DAO
import
json
import
json
import
time
import
time
from
urllib.parse
import
urlparse
,
parse_qs
#Re-named urllib.parse as of #3.x
try
:
from
urllib.parse
import
urlparse
,
parse_qs
except
ImportError
:
from
urlparse
import
(
urlparse
,
parse_qs
)
class
RequestHandle
():
class
RequestHandle
():
# Decide which GET URI to serve.
# Decide which GET URI to serve.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment