On Fri, 2012-06-22 at 13:40 +0200, Zdeněk Pavlas wrote:
> This is not significantly faster than always downloading the
> whole file (repomd.xml is typically about 3kB), we just save
> the bandwidth.
>
> With reget on, urlgrabber does not touch the local file
> on (most of) failures hence no revert
On Fri, 2012-06-22 at 12:02 +0200, Zdeněk Pavlas wrote:
> ---
> urlgrabber/grabber.py | 28 +---
> 1 files changed, 17 insertions(+), 11 deletions(-)
>
> diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
> index 071146c..3127b48 100644
> --- a/urlgrabber/grabber
This is not significantly faster than always downloading the
whole file (repomd.xml is typically about 3kB), we just save
the bandwidth.
With reget on, urlgrabber does not touch the local file
on (most of) failures hence no reverting is needed.
Won't work with older urlgrabber which raises NotImp
---
urlgrabber/grabber.py | 28 +---
1 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/urlgrabber/grabber.py b/urlgrabber/grabber.py
index 071146c..3127b48 100644
--- a/urlgrabber/grabber.py
+++ b/urlgrabber/grabber.py
@@ -107,10 +107,8 @@ GENERAL ARGUMENTS