Skip to content

Commit

Permalink
converted to python3, no longer py2 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
kneufeld committed Dec 30, 2018
1 parent 3957ab3 commit df15f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alkali/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def validate_fk_fields(fk_fields, elem):
# elem.pk might try to lookup the very thing that is missing
field_name = elem.Meta.pk_fields.keys()[0]
pk_value = elem.__dict__[field_name]
logger.warn( "%s.%s: foreign instance missing: %s",
logger.warning( "%s.%s: foreign instance missing: %s",
self.model_class.__name__, elem.__dict__[fk_field_name], pk_value)

# THINK/TODO we need to delete ourselves
Expand Down

0 comments on commit df15f40

Please sign in to comment.