Skip to content

Commit

Permalink
unblock
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Li committed Jan 8, 2020
1 parent 8f61ce5 commit 94e611f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sentry/runner/initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ def __model_unpickle_compat(model_id, attrs=None, factory=None):
attrs = [] if attrs is None else attrs
factory = django.db.models.base.simple_class_factory if factory is None else factory
return model_unpickle(model_id, attrs, factory)
elif VERSION[:2] == (1, 10):
# TODO(joshuarli): unverified on 1.11, but i'm doing this to unblock tests for now
elif VERSION[:2] in [(1, 10), (1, 11)]:
return model_unpickle(model_id)
else:
raise NotImplementedError
Expand Down

0 comments on commit 94e611f

Please sign in to comment.