def print_publish_info(service_pub_info):
    s = service_pub_info
    e_flag = ''
    if s['jobStatus'].lower() == 'failed':
        e_flag = 'ERROR'
        
    #print '\n{:<8}{}'.format('', '-' * 100)
    print '\n{:<8}{:<17}{}'.format('', 'Job ID:', s.get('jobId'))
    print '{:<8}{:<17}{}'.format(e_flag, 'Job Status:', s.get('jobStatus'))
    print '{:<8}{:<17}{}'.format('', 'Job Message:', s.get('jobMessage'))
    print '{:<8}{:<17}{}'.format('', 'Serice URL:', s.get('serviceurl'))
    print '{:<8}{:<17}{}'.format('', 'Serice Type:', s.get('type'))
    print '{:<8}{:<17}{}'.format('', 'Service Item ID:', s.get('serviceItemId'))
Append a string or a list of flags for a given package or DEPEND atom to a
dataset/ETHPy150Open Esri/ops-server-config/Publish/Portal/PublishHostedServices.py/print_publish_info--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/portage_config.py/append_to_package_conf