Skip to content

Commit

Permalink
Removing double import
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauleuh committed Sep 22, 2016
1 parent e7e60c2 commit a5fb10c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mrq/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import encodings
import copy_reg
from . import context
from mrq.context import get_current_config


class Job(object):
Expand Down Expand Up @@ -434,7 +433,7 @@ def _save_status(self, status, updates=None, exception=False, w=None, j=None):
exc = sys.exc_info()[0]
db_updates["exceptiontype"] = exc.__name__

if get_current_config().get("save_traceback_history"):
if context.get_current_config().get("save_traceback_history"):

self._save_traceback_history(status, trace, exc)

Expand Down

0 comments on commit a5fb10c

Please sign in to comment.