From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D0749138CD8 for ; Wed, 27 May 2015 17:27:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C1CFE089C; Wed, 27 May 2015 17:27:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11F46E089C for ; Wed, 27 May 2015 17:27:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15A98340DBA for ; Wed, 27 May 2015 17:27:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 965F19FB for ; Wed, 27 May 2015 17:27:04 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1432747235.ea14aa4c915abbaf293d77ed70a947648143f401.floppym@gentoo> Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/revdep_rebuild/ X-VCS-Repository: proj/gentoolkit X-VCS-Files: pym/gentoolkit/revdep_rebuild/rebuild.py pym/gentoolkit/revdep_rebuild/settings.py X-VCS-Directories: pym/gentoolkit/revdep_rebuild/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: ea14aa4c915abbaf293d77ed70a947648143f401 X-VCS-Branch: gentoolkit Date: Wed, 27 May 2015 17:27:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9ed21c96-dc64-4af7-b5c1-9fd4a617d200 X-Archives-Hash: 1ce1753b8825a018dd1f45eda9a87be8 commit: ea14aa4c915abbaf293d77ed70a947648143f401 Author: Mike Gilbert gentoo org> AuthorDate: Wed May 27 17:20:35 2015 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Wed May 27 17:20:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=ea14aa4c revdep-rebuild: Remove broken NO_PRETEND setting This hasn't worked since the argparse conversion. pym/gentoolkit/revdep_rebuild/rebuild.py | 8 -------- pym/gentoolkit/revdep_rebuild/settings.py | 5 ----- 2 files changed, 13 deletions(-) diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/revdep_rebuild/rebuild.py index d35906e..23fa694 100644 --- a/pym/gentoolkit/revdep_rebuild/rebuild.py +++ b/pym/gentoolkit/revdep_rebuild/rebuild.py @@ -134,14 +134,6 @@ def main(settings=None, logger=None): logger.warn(blue(' * ') + yellow('You are not root, adding --pretend to portage options')) settings['PRETEND'] = True - elif not settings['PRETEND'] \ - and settings['IS_DEV'] \ - and not settings['NO_PRETEND']: - logger.warn(blue(' * ') + - yellow('Adding --pretend to portage options')) - logger.info(blue(' * ') + - 'If you\'re sure, you can add --no-pretend to revdep options') - settings['PRETEND'] = True logger.debug("\tmain(), _libs_to_check = %s" % str(_libs_to_check)) diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/revdep_rebuild/settings.py index 3a653a5..08220f8 100644 --- a/pym/gentoolkit/revdep_rebuild/settings.py +++ b/pym/gentoolkit/revdep_rebuild/settings.py @@ -27,11 +27,6 @@ DEFAULTS = { #if program should use temporary files from previous run 'USE_TMP_FILES': True, - #True for dev. version, False for stable - #used when IS_DEV is True, False forces to call emerge with --pretend - # can be set True from the cli with the --no-pretend option - 'IS_DEV': True, - 'NO_PRETEND': False, 'VERBOSITY': 1, 'quiet': False,