[ILUG] I think diff in email?

Gavin McCullagh gmccullagh at gmail.com
Fri May 18 13:21:12 IST 2012


man patch.


On 18 May 2012 13:13, Frank Murphy <frankly3d at gmail.com> wrote:

> I you get something in an email as below:
>
> --- a/urlgrabber/grabber.py
> +++ b/urlgrabber/grabber.py
> @@ -2291,6 +2291,8 @@ class _TH:
>     def update(url, dl_size, dl_time, ug_err):
>         _TH.load()
>         host = urlparse.urlsplit(url).netloc
> +        if not host: # file://
> +            return
>         speed, fail, ts = _TH.hosts.get(host) or (0, 0, 0)
>         now = time.time()
>
> How does one use this code.
> Have looked at man diff, and some Googling
> http://www.computerhope.com/**unix/udiff.htm<http://www.computerhope.com/unix/udiff.htm>
>
> But still waiting on a Psychologist.
>
>
>
> --
> Regards,
> Frank
> "Jack of all, fubars"
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/**listinfo/ilug<http://mail.linux.ie/mailman/listinfo/ilug>
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>


More information about the ILUG mailing list