projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29beea
)
--autounmask-write: only prompt when necessary
author
Zac Medico
<zmedico@gentoo.org>
Tue, 17 May 2011 06:29:21 +0000
(23:29 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 17 May 2011 06:29:21 +0000
(23:29 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 9e97415be47c01fea4776308e88cdaa9230bca09..3daaf441c2c152d6b23ca846e5a5d0b19cbb0cdd 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-5776,7
+5776,7
@@
class depgraph(object):
except PortageException:
problems.append("!!! Failed to write '%s'\n" % file_to_write_to)
- if
write_to_file and ask
:
+ if
ask and write_to_file and file_to_write_to
:
prompt = "\nWould you like to add these " + \
"changes to your config files?"
if userquery(prompt, enter_invalid) == 'No':