From: Zac Medico Date: Sat, 21 Aug 2010 20:05:24 +0000 (-0700) Subject: Fix broken writemsg call in depgraph._resolve() that triggers this error: X-Git-Tag: v2.2_rc68~30 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=edc7b0e893b38cc95641441977770d3d937fcfdc;p=portage.git Fix broken writemsg call in depgraph._resolve() that triggers this error: TypeError: writemsg() got an unexpected keyword argument 'file' --- 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