def fromurl(url):
 ps = PatchSet(urlopen(url))
 if (ps.errors == 0):
  return ps
 return False

def fromurl ( url ) : ps = PatchSet ( urlopen ( url ) ) if ( ps . errors == 0 ) : return ps return False
parse patch from an url .