diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-24 03:37:44 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-24 03:37:44 +0000 |
commit | 91d52ba2f4f3ee1c7e83d6a451746976106743aa (patch) | |
tree | 81027fc17963d0ef7ffc0165f1ed71963b621dc9 /bin | |
parent | 0b3c2e0bd74be68551ab2c78a13eae2604b48212 (diff) | |
download | portage-91d52ba2f4f3ee1c7e83d6a451746976106743aa.tar.gz portage-91d52ba2f4f3ee1c7e83d6a451746976106743aa.tar.bz2 portage-91d52ba2f4f3ee1c7e83d6a451746976106743aa.zip |
Combine --nodeps spinner logic. (trunk r9953)
svn path=/main/branches/2.1.2/; revision=9958
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emerge | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bin/emerge b/bin/emerge index ee6edf736..983ff5034 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1730,8 +1730,6 @@ class depgraph(object): self.edebug = 0 if settings.get("PORTAGE_DEBUG", "") == "1": self.edebug = 1 - if "--nodeps" in myopts: - spinner.update = spinner.update_quiet self.spinner = spinner self.pkgsettings = {} # Maps slot atom to package for each Package added to the graph. @@ -7350,6 +7348,10 @@ def action_build(settings, trees, mtimedb, else: del mtimedb[k] + show_spinner = "--quiet" not in myopts and "--nodeps" not in myopts + if not show_spinner: + spinner.update = spinner.update_quiet + if "--resume" in myopts and \ ("resume" in mtimedb or "resume_backup" in mtimedb): @@ -7373,9 +7375,6 @@ def action_build(settings, trees, mtimedb, for opt in ("--skipfirst", "--ask", "--tree"): resume_opts.pop(opt, None) myopts.update(resume_opts) - show_spinner = "--quiet" not in myopts and "--nodeps" not in myopts - if not show_spinner: - spinner.update = spinner.update_quiet if show_spinner: print "Calculating dependencies ", myparams = create_depgraph_params(myopts, myaction) |