Skip to content
This repository was archived by the owner on Jan 28, 2020. It is now read-only.

Conversation

ShawnMilo
Copy link
Contributor

fixes #376

Also explicitly sorts instead of depending on chance.

fixes #376

Also explicitly sorts instead of depending on chance.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The important part of this change is the addition of .name to the asset.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was it doing before? Coercing FileField to a string before comparison?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. I assume it was, and maybe still does on some machines. It just broke for me on a fresh installation. In any case, this is more explicit.

noisecapella added a commit that referenced this pull request Jul 17, 2015
Fixed comparison of FileFields to strings.
@noisecapella noisecapella merged commit 88cc7a8 into master Jul 17, 2015
@noisecapella noisecapella deleted the bug/skm/376_asset_name branch July 17, 2015 20:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test failure comparing assets to list

2 participants