1 |
commit: ea14aa4c915abbaf293d77ed70a947648143f401 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 27 17:20:35 2015 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 27 17:20:35 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=ea14aa4c |
7 |
|
8 |
revdep-rebuild: Remove broken NO_PRETEND setting |
9 |
|
10 |
This hasn't worked since the argparse conversion. |
11 |
|
12 |
pym/gentoolkit/revdep_rebuild/rebuild.py | 8 -------- |
13 |
pym/gentoolkit/revdep_rebuild/settings.py | 5 ----- |
14 |
2 files changed, 13 deletions(-) |
15 |
|
16 |
diff --git a/pym/gentoolkit/revdep_rebuild/rebuild.py b/pym/gentoolkit/revdep_rebuild/rebuild.py |
17 |
index d35906e..23fa694 100644 |
18 |
--- a/pym/gentoolkit/revdep_rebuild/rebuild.py |
19 |
+++ b/pym/gentoolkit/revdep_rebuild/rebuild.py |
20 |
@@ -134,14 +134,6 @@ def main(settings=None, logger=None): |
21 |
logger.warn(blue(' * ') + |
22 |
yellow('You are not root, adding --pretend to portage options')) |
23 |
settings['PRETEND'] = True |
24 |
- elif not settings['PRETEND'] \ |
25 |
- and settings['IS_DEV'] \ |
26 |
- and not settings['NO_PRETEND']: |
27 |
- logger.warn(blue(' * ') + |
28 |
- yellow('Adding --pretend to portage options')) |
29 |
- logger.info(blue(' * ') + |
30 |
- 'If you\'re sure, you can add --no-pretend to revdep options') |
31 |
- settings['PRETEND'] = True |
32 |
|
33 |
logger.debug("\tmain(), _libs_to_check = %s" % str(_libs_to_check)) |
34 |
|
35 |
|
36 |
diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/revdep_rebuild/settings.py |
37 |
index 3a653a5..08220f8 100644 |
38 |
--- a/pym/gentoolkit/revdep_rebuild/settings.py |
39 |
+++ b/pym/gentoolkit/revdep_rebuild/settings.py |
40 |
@@ -27,11 +27,6 @@ DEFAULTS = { |
41 |
#if program should use temporary files from previous run |
42 |
'USE_TMP_FILES': True, |
43 |
|
44 |
- #True for dev. version, False for stable |
45 |
- #used when IS_DEV is True, False forces to call emerge with --pretend |
46 |
- # can be set True from the cli with the --no-pretend option |
47 |
- 'IS_DEV': True, |
48 |
- 'NO_PRETEND': False, |
49 |
'VERBOSITY': 1, |
50 |
|
51 |
'quiet': False, |