/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to avatarproviders.py

  • Committer: Curtis Hovey
  • Date: 2011-09-03 21:24:24 UTC
  • mto: This revision was merged to the branch mainline in revision 738.
  • Revision ID: sinzui.is@verizon.net-20110903212424-afdwfqyv3z8gnt1z
Lint fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
    def __init__(self, provider_method):
48
48
        """Constructor
49
 
        
 
49
 
50
50
        :param provider_method: Provider method that returns fields
51
51
                 to send with the request.
52
52
        """
110
110
        """Return a gravatar URL for an email address.."""
111
111
        return self.get_base_url() + \
112
112
                urllib.urlencode({
113
 
                    'gravatar_id':hashlib.md5(email.lower()).hexdigest(),
114
 
                    'size':str(self.size)
 
113
                    'gravatar_id': hashlib.md5(email.lower()).hexdigest(),
 
114
                    'size': str(self.size)
115
115
                })