projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8234830
)
_fetch_digester_exit: fix NoneType AttributeError
author
Zac Medico
<zmedico@gentoo.org>
Wed, 9 Jan 2013 22:23:28 +0000
(14:23 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 9 Jan 2013 22:23:28 +0000
(14:23 -0800)
pym/portage/_emirrordist/FetchTask.py
patch
|
blob
|
history
diff --git
a/pym/portage/_emirrordist/FetchTask.py
b/pym/portage/_emirrordist/FetchTask.py
index 65fd672b9312fbb62f153ac1f76d3d97ef2d8338..0853197db044f278c9f638b54128cecae7377726 100644
(file)
--- a/
pym/portage/_emirrordist/FetchTask.py
+++ b/
pym/portage/_emirrordist/FetchTask.py
@@
-475,8
+475,8
@@
class FetchTask(CompositeTask):
else:
bad_digest = self._find_bad_digest(digester.digests)
if bad_digest is not None:
- msg = "%s
%s
has bad %s digest: expected %s, got %s" % \
- (self.distfile,
self._current_mirror.name,
bad_digest,
+ msg = "%s has bad %s digest: expected %s, got %s" % \
+ (self.distfile, bad_digest,
self.digests[bad_digest], digester.digests[bad_digest])
self.scheduler.output(msg + '\n', background=True,
log_path=self._log_path)