equal
deleted
inserted
replaced
60 """ |
60 """ |
61 parsed_version = parse_version(vers['version']) |
61 parsed_version = parse_version(vers['version']) |
62 vers['capabilities'] = {} |
62 vers['capabilities'] = {} |
63 for name in opts['optional']: |
63 for name in opts['optional']: |
64 vers['capabilities'][name] = check(parsed_version, name) |
64 vers['capabilities'][name] = check(parsed_version, name) |
65 failed = False |
|
66 for name in opts['required']: |
65 for name in opts['required']: |
67 have = check(parsed_version, name) |
66 have = check(parsed_version, name) |
68 vers['capabilities'][name] = have |
67 vers['capabilities'][name] = have |
69 if not have: |
68 if not have: |
70 vers['error'] = 'client required capability `' + name + \ |
69 vers['error'] = 'client required capability `' + name + \ |