Skip to content

EL6 proxy#58

Closed
aronowski wants to merge 1 commit into
el6-only-switch-reposfrom
el6-proxy
Closed

EL6 proxy#58
aronowski wants to merge 1 commit into
el6-only-switch-reposfrom
el6-proxy

Conversation

@aronowski
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Member

@AlexBaranowski AlexBaranowski left a comment

Choose a reason for hiding this comment

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

Comment thread migrate2eurolinux.sh
client = None
try: # EuroLinux7
client = xmlrpclib.ServerProxy(EUROMAN_URL,transport=xmlrpclib.SafeTransport(use_datetime=True, context=context))
client = ServerProxy(EUROMAN_URL,transport=xmlrpclib.SafeTransport(use_datetime=True, context=context),proxy=proxy)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

To jest błąd składniowy

Comment thread migrate2eurolinux.sh
if client is None: # EuroLinux6
try:
client = xmlrpclib.ServerProxy(EUROMAN_URL,transport=xmlrpclib.SafeTransport(use_datetime=True, context=context))
client = ServerProxy(EUROMAN_URL,transport=xmlrpclib.SafeTransport(use_datetime=True, context=context),proxy=proxy)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

błąd składniowy

Comment thread migrate2eurolinux.sh
client = ServerProxy(EUROMAN_URL,transport=xmlrpclib.SafeTransport(use_datetime=True, context=context),proxy=proxy)
except:
client = xmlrpclib.ServerProxy(EUROMAN_URL)
client = ServerProxy(EUROMAN_URL,proxy=proxy)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

błąd składni

Comment thread migrate2eurolinux.sh
allow_none=1, use_datetime=0, proxy=None):
# If a proxy is provided, set up the proxy connection
if proxy:
self.proxy = proxy
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

brak wcięcia

Comment thread migrate2eurolinux.sh
self.transport = httplib.HTTPConnection
# Otherwise, use the default transport
else:
self.transport = transport
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

brak wcięcia

Comment thread migrate2eurolinux.sh
# Otherwise, use the default transport
else:
self.transport = transport
xmlrpclib.ServerProxy.__init__(self, uri, transport, encoding,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

brak wcięcia

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.

2 participants