Commit 1d070bc5 authored by Alexander Pace's avatar Alexander Pace

first changes for 2.7.1

1) support for c-type events.
2) "fixed" legacy_cli. probably still broken.
parent b68da6ee
Pipeline #158659 failed with stages
in 20 minutes and 38 seconds
......@@ -281,17 +281,6 @@ Longer strings will be truncated.""" % {
# Compile dict of kwargs for instantiating the client class
client_args = {}
# Process proxy args
proxyport = None
if proxy and proxy.find(':') > 0:
try:
proxy, proxyport = proxy.split(':')
proxyport = int(proxyport)
except:
op.error("Malformed proxy: '%s'" % proxy)
client_args['proxy_host'] = proxy
client_args['proxy_port'] = proxyport
# Auth args
client_args['force_noauth'] = options.force_noauth
client_args['username'] = options.username
......
......@@ -3,7 +3,7 @@ import six
import mimetypes
from functools import wraps
EVENT_PREFIXES = ['G', 'E', 'H', 'M', 'T']
EVENT_PREFIXES = ['G', 'E', 'H', 'M', 'T', 'C']
event_prefix_regex = re.compile(r'^({prefixes})\d+'.format(
prefixes="|".join(EVENT_PREFIXES)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment