Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit f2b0f773 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update harvest_tools to remove traceback.

parent d2fbe656
""" harvest_tools.articles
"""
import traceback
from .automaton import Automaton
from .base import (learn_my_authors,
MSG_CRASH,
......@@ -71,7 +68,6 @@ class Articles(Automaton):
except Exception as e:
self.logs[-1].reject(MSG_CRASH % e, record=record, translate=False)
print((traceback.format_exc()))
return False
return True
......
""" harvest_tools.notes
"""
import traceback
from .automaton import Automaton
from .base import MSG_CRASH, MSG_LOAD
from .checkandfix import CheckException
......@@ -46,7 +43,6 @@ class Notes(Automaton):
except Exception as e:
self.logs[-1].reject(MSG_CRASH % e, record=record, translate=False)
print(traceback.format_exc())
return False
return True
......
""" harvest_tools.preprints
"""
import traceback
from .automaton import Automaton
from .base import MSG_CRASH, MSG_LOAD
from .checkandfix import CheckException
......@@ -69,7 +66,6 @@ class Preprints(Automaton):
except Exception as e:
self.logs[-1].reject(MSG_CRASH % e, record=record, translate=False)
print(traceback.format_exc())
return False
return True
......
""" harvest_tools.proceedings
"""
import traceback
from .automaton import Automaton
from .base import MSG_CRASH, MSG_LOAD
from .checkandfix import CheckException
......@@ -54,7 +51,6 @@ class Proceedings(Automaton):
except Exception as e:
self.logs[-1].reject(MSG_CRASH % e, record=record, translate=False)
print(traceback.format_exc())
return False
return True
......
""" harvest_tools.reports
"""
import traceback
from .automaton import Automaton
from .base import MSG_CRASH, MSG_LOAD
from .checkandfix import CheckException
......@@ -52,7 +49,6 @@ class Reports(Automaton):
except Exception as e:
self.logs[-1].reject(MSG_CRASH % e, record=record, translate=False)
print(traceback.format_exc())
return False
return True
......
""" harvest_tools.talks
"""
import traceback
from .automaton import Automaton
from .base import MSG_CRASH, MSG_LOAD
from .checkandfix import CheckException
......@@ -51,7 +48,6 @@ class Talks(Automaton):
except Exception as e:
self.logs[-1].reject(MSG_CRASH % e, record=record, translate=False)
print(traceback.format_exc())
return False
return True
......
......@@ -2,7 +2,6 @@
"""
import re
import traceback
from .automaton import Automaton
......@@ -49,7 +48,6 @@ class Thesis(Automaton):
except Exception as e:
self.logs[-1].reject(MSG_CRASH % e, record=record, translate=False)
print(traceback.format_exc())
return False
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment