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

Python312 support #47

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

Conversation

mlaghaee-bonline
Copy link

No description provided.

@@ -119,16 +119,17 @@ class OpenSRS(object):

MSG_ALREADY_RENEWED_SANDBOX = 'Domain Already Renewed'

def __init__(self, host, port, username, private_key, default_timeout):
def __init__(self, host, port, username, private_key, default_timeout, proxy=None):
Copy link

Choose a reason for hiding this comment

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

E501 line too long (87 > 80 characters)


def _get_channel(self):
return XCPChannel(self.host, self.port, self.username,
self.private_key, self.default_timeout)
self.private_key, self.default_timeout, proxy=self.proxy)
Copy link

Choose a reason for hiding this comment

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

E128 continuation line under-indented for visual indent

@@ -1,9 +1,9 @@
import hashlib
import logging
try:
from urllib.request import urlopen, Request
from urllib.request import urlopen, Request, ProxyHandler, build_opener, install_opener
Copy link

Choose a reason for hiding this comment

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

E501 line too long (91 > 80 characters)

except ImportError:
from urllib2 import urlopen, Request
from urllib2 import urlopen, Request, ProxyHandler, build_opener, install_opener
Copy link

Choose a reason for hiding this comment

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

E501 line too long (84 > 80 characters)

@@ -128,23 +128,27 @@ def sign(self, private_key):


class XCPChannel(object):
def __init__(self, host, port, username, private_key, default_timeout):
def __init__(self, host, port, username, private_key, default_timeout, proxy=None):
Copy link

Choose a reason for hiding this comment

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

E501 line too long (87 > 80 characters)

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.

4 participants