Skip to content

Commit

Permalink
fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Jul 18, 2023
1 parent 435308b commit abb5cdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sentry/models/debugfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
region_silo_only_model,
sane_repr,
)
from sentry.lang.native.sources import record_last_upload
from sentry.models.files.file import File
from sentry.models.files.utils import clear_cached_files
from sentry.reprocessing import bump_reprocessing_revision, resolve_processing_issue
Expand Down Expand Up @@ -599,6 +598,8 @@ def create_files_from_dif_zip(
"""Creates all missing debug files from the given zip file. This
returns a list of all files created.
"""
from sentry.lang.native.sources import record_last_upload

scratchpad = tempfile.mkdtemp()
try:
safe_extract_zip(fileobj, scratchpad, strip_toplevel=False)
Expand Down

0 comments on commit abb5cdf

Please sign in to comment.