Skip to content
Snippets Groups Projects
Commit cd5d84c8 authored by Gandalf's avatar Gandalf
Browse files

Merge branch 'autoclave-fmtbug' into 'autoclave'

fix MicroForkException string format

See merge request hive-group/hivemind!7
parents 73fd5873 ce6e3f2e
No related branches found
No related tags found
1 merge request!7fix MicroForkException string format
...@@ -39,7 +39,7 @@ class BlockQueue: ...@@ -39,7 +39,7 @@ class BlockQueue:
if self._queue: # if using max_size>0, fork might be in buffer only if self._queue: # if using max_size>0, fork might be in buffer only
buff = self.size() buff = self.size()
alert = "NOTIFYALERT " if buff < self._max_size else "" alert = "NOTIFYALERT " if buff < self._max_size else ""
raise MicroForkException("%squeue:%d %s" % (alert, fork, buff)) raise MicroForkException("%squeue:%d %s" % (alert, buff, fork))
raise ForkException("NOTIFYALERT fork " + fork) raise ForkException("NOTIFYALERT fork " + fork)
self._prev = next_hash self._prev = next_hash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment