Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove python2 compatible import usages #728

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

aisk
Copy link
Contributor

@aisk aisk commented May 19, 2022

No description provided.

web/httpserver.py Outdated Show resolved Hide resolved
web/session.py Outdated Show resolved Hide resolved
cclauss
cclauss previously approved these changes May 19, 2022
Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

tests/test_wsgi.py Outdated Show resolved Hide resolved
web/db.py Outdated Show resolved Hide resolved
@aisk aisk requested review from cclauss May 20, 2022 13:49
@cclauss
Copy link
Contributor

cclauss commented Oct 12, 2022

Sorry for the delay... Please rebase.

@aisk
Copy link
Contributor Author

aisk commented Oct 15, 2022

Rebased :)

@iredmail
Copy link
Contributor

LGTM

@@ -35,7 +36,7 @@ def runbasic(func, server_address=("0.0.0.0", 8080)):

class WSGIHandler(SimpleHTTPRequestHandler):
def run_wsgi_app(self):
protocol, host, path, parameters, query, fragment = urlparse.urlparse(
protocol, host, path, parameters, query, fragment = urlparse(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is not quite right. The imports need to be modified to match web/db.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I forget this for a long time, updated!

aisk and others added 6 commits April 2, 2023 18:39
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Signed-off-by: AN Long <aisk1988@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants