Lines 4058-4065
def run_action(emerge_config):
Link Here
|
4058 |
|
4058 |
|
4059 |
# GLEP 42 says to display news *after* an emerge --pretend |
4059 |
# GLEP 42 says to display news *after* an emerge --pretend |
4060 |
if "--pretend" not in emerge_config.opts: |
4060 |
if "--pretend" not in emerge_config.opts: |
4061 |
display_news_notification( |
4061 |
uq = UserQuery(emerge_config.opts) |
4062 |
emerge_config.target_config, emerge_config.opts) |
4062 |
if display_news_notification(emerge_config.target_config, |
|
|
4063 |
emerge_config.opts) \ |
4064 |
and "--ask" in emerge_config.opts \ |
4065 |
and uq.query("Would you like to read the news items while" \ |
4066 |
"calculating dependencies?", |
4067 |
'--ask-enter-invalid' in emerge_config.opts) == "Yes": |
4068 |
subprocess.call(['eselect', 'news', 'read']) |
4063 |
retval = action_build(emerge_config.target_config.settings, |
4069 |
retval = action_build(emerge_config.target_config.settings, |
4064 |
emerge_config.trees, emerge_config.target_config.mtimedb, |
4070 |
emerge_config.trees, emerge_config.target_config.mtimedb, |
4065 |
emerge_config.opts, emerge_config.action, |
4071 |
emerge_config.opts, emerge_config.action, |