summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-21 13:05:24 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-21 13:05:24 -0700
commitedc7b0e893b38cc95641441977770d3d937fcfdc (patch)
tree15950224a959181761b8d4f03ca8f22ebe9790bc
parent4c1c115372c9682df7bb8fb0d7d6e77d6128f39b (diff)
downloadportage-edc7b0e893b38cc95641441977770d3d937fcfdc.tar.gz
portage-edc7b0e893b38cc95641441977770d3d937fcfdc.tar.bz2
portage-edc7b0e893b38cc95641441977770d3d937fcfdc.zip
Fix broken writemsg call in depgraph._resolve() that triggers this error:
TypeError: writemsg() got an unexpected keyword argument 'file'
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index cb030d7c3..f9b581e0e 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -1786,7 +1786,7 @@ class depgraph(object):
except SystemExit as e:
raise # Needed else can't exit
except Exception as e:
- writemsg("\n\n!!! Problem in '%s' dependencies.\n" % atom, file=sys.stderr)
+ writemsg("\n\n!!! Problem in '%s' dependencies.\n" % atom, noiselevel=-1)
writemsg("!!! %s %s\n" % (str(e), str(getattr(e, "__module__", None))))
raise