bin/workshops.py
def check_info(url, info):
    '''Check that all required information for workshop is present.'''
    missing = REQUIRED_KEYS - set(info.keys())
    if missing:
        missing = sorted(list(missing))
        print('Info for {0} missing key(s): {1}'.format(url, missing), file=sys.stderr)
        return False
    return True
Check that all required information for workshop is present.
Check that all required information for workshop is present.
Check that all required information for workshop is present .
def check_info(url, info):
    missing = REQUIRED_KEYS - set(info.keys())
    if missing:
        missing = sorted(list(missing))
        print('Info for {0} missing key(s): {1}'.format(url, missing), file=sys.stderr)
        return False
    return True
def check_info ( url , info ) : missing = REQUIRED_KEYS - set ( info . keys ( ) ) if missing : missing = sorted ( list ( missing ) ) print ( 'Info for {0} missing key(s): {1}' . format ( url , missing ) , file = sys . stderr ) return False return True
Check that all required information for workshop is present.
Check that all required information for workshop is present .
'''Check that all required information for workshop is present.'''
url
info