On Tue, 2013-04-23 at 11:00 -0400, Zdenek Pavlas wrote:
> > # confirm with user
> > if self._promptWanted():
> > -if self.conf.assumeno or not self.userconfirm():
> > +uc = None
> > +if not self.conf.assumeno:
> > +uc = _download
> # confirm with user
> if self._promptWanted():
> -if self.conf.assumeno or not self.userconfirm():
> +uc = None
> +if not self.conf.assumeno:
> +uc = _downloadonly_userconfirm(self)
When using --downloadonly, I almost always u
---
cli.py | 22 +++---
output.py | 45 +
yum/__init__.py |2 +-
3 files changed, 45 insertions(+), 24 deletions(-)
diff --git a/cli.py b/cli.py
index ba2e343..c8a5554 100755
--- a/cli.py
+++ b/cli.py
@@ -529,6 +52
On Tue, 2013-04-23 at 04:08 -0400, Zdenek Pavlas wrote:
> > +elif uc == 'downloadonly':
> > +self.conf.downloadonly = True
> > +self.verbose_logger.info(_('Will exit after downloads are
> > complete'))
>
> It's a good idea UI-wise, and enabling --downlo
> +elif uc == 'downloadonly':
> +self.conf.downloadonly = True
> +self.verbose_logger.info(_('Will exit after downloads are
> complete'))
It's a good idea UI-wise, and enabling --downloadonly at this point should be
safe.
ACK.
> +aui = (dui[0]