Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Squish another #1369 regression #2079

Merged
merged 1 commit into from
Feb 27, 2014
Merged

Squish another #1369 regression #2079

merged 1 commit into from
Feb 27, 2014

Conversation

chadwhitacre
Copy link
Contributor

No description provided.

@@ -1,6 +1,6 @@
"""Show information about a single participant. It might be you!
"""
from gittip.utils import get_participant
from gittip.utils import get_participant, get_avatar_url
Copy link
Contributor

Choose a reason for hiding this comment

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

This file doesn't seem to use get_avatar_url...?

Copy link
Contributor

Choose a reason for hiding this comment

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

@seanlinsley It's used in an included template.

Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't the template itself load it then? Or are templates not able to do that on their own?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think templates can import python functions.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, that appears to be the case. Either way, this fixes the problem.

seanlinsley added a commit that referenced this pull request Feb 27, 2014
@seanlinsley seanlinsley merged commit 2355620 into master Feb 27, 2014
@seanlinsley seanlinsley deleted the another-avatar-url branch February 27, 2014 00:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants