Fix forgotten exception in graph.py

This commit is contained in:
Dmitry Shulyak
2015-10-08 18:00:34 +03:00
parent bca74e8a92
commit 68715cee52
2 changed files with 6 additions and 1 deletions

View File

@@ -35,3 +35,7 @@ class LexError(SolarError):
class ParseError(SolarError):
pass
class ExecutionTimeout(SolarError):
pass

View File

@@ -19,6 +19,7 @@ import networkx as nx
from solar import utils
from .traversal import states
from solar import errors
from collections import Counter
@@ -178,4 +179,4 @@ def wait_finish(uid, timeout):
return
else:
raise errors.ExecutionTimeout(
'Next tasks wasnt able to finish: %s' % not_finished)
'Run %s wasnt able to finish' % uid)