def update_ports_tree(ports_tree):
 _check_config_exists()
 if ports_tree:
  cmd = 'poudriere ports -u -p {0}'.format(ports_tree)
 else:
  cmd = 'poudriere ports -u'
 ret = __salt__['cmd.run'](cmd)
 return ret

def update_ports_tree ( ports_tree ) : _check_config_exists ( ) if ports_tree : cmd = 'poudriere ports -u -p {0}' . format ( ports_tree ) else : cmd = 'poudriere ports -u' ret = __salt__ [ 'cmd.run' ] ( cmd ) return ret
updates the ports tree .