Skip to content

Commit 9a40e3a

Browse files
committed
Fix crash in retry job
1 parent 43ec74e commit 9a40e3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jbi/queue.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
import dockerflow.checks
3838
from pydantic import BaseModel, FileUrl, ValidationError, computed_field
3939

40-
from jbi import app, bugzilla
40+
import jbi
41+
from jbi import bugzilla
4142
from jbi.environment import get_settings
4243

4344
logger = logging.getLogger(__name__)
@@ -93,7 +94,7 @@ class QueueItem(BaseModel, frozen=True):
9394
@property
9495
def version(self) -> str:
9596
# Prevents circular imports.
96-
return app.VERSION
97+
return jbi.app.VERSION
9798

9899
@property
99100
def timestamp(self) -> datetime:

0 commit comments

Comments
 (0)