diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-21 13:05:24 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-21 13:05:24 -0700 |
commit | edc7b0e893b38cc95641441977770d3d937fcfdc (patch) | |
tree | 15950224a959181761b8d4f03ca8f22ebe9790bc | |
parent | 4c1c115372c9682df7bb8fb0d7d6e77d6128f39b (diff) | |
download | portage-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.py | 2 |
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 |