def get_sources(zone, permanent=True):
 cmd = '--zone={0} --list-sources'.format(zone)
 if permanent:
  cmd += ' --permanent'
 return __firewall_cmd(cmd).split()

def get_sources ( zone , permanent = True ) : cmd = '--zone={0} --list-sources' . format ( zone ) if permanent : cmd += ' --permanent' return __firewall_cmd ( cmd ) . split ( )
return the path to the generate sources .