Skip to content

Commit

Permalink
pep8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmcd committed May 6, 2015
1 parent d23b705 commit af1706e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
13 changes: 8 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,12 @@ You can also add modules to the `Mezzanine Grid on djangopackages.com`_.
platform.
* `mezzanine-bsbanners`_ - Add `Twitter Bootstrap`_ Carousels and
Jumbotrons to Mezzanine.
* `mezzanine-business-theme`_ Starter business theme for Mezzanine.
* `open-helpdesk`_ A helpdesk app built with Mezzanine.
* `mezzanine-invites`_ Allow site registration via alphanumeric invite codes.
* `ansible-mezzanine`_ Full pipeline (dev, staging, production) deployment of Mezzanine using `Ansible`_.
* `mezzanine-modal-announcements`_ Popup announcements for Mezzanine websites via Bootstrap modals.
* `mezzanine-business-theme`_ - Starter business theme for Mezzanine.
* `open-helpdesk`_ - A helpdesk app built with Mezzanine.
* `mezzanine-invites`_ - Allow site registration via alphanumeric invite codes.
* `ansible-mezzanine`_ - Full pipeline (dev, staging, production) deployment of Mezzanine using `Ansible`_.
* `mezzanine-modal-announcements`_ - Popup announcements for Mezzanine websites via Bootstrap modals.
* `mezzanine-buffer`_ - `Buffer`_ integration for Mezzanine.


Donating
Expand Down Expand Up @@ -752,6 +753,8 @@ Quotes
.. _`mezzanine-invites`: https://github.com/averagehuman/mezzanine-invites
.. _`ansible-mezzanine`: https://github.com/keithadavidson/ansible-mezzanine
.. _`mezzanine-modal-announcements`: https://github.com/joshcartme/mezzanine-modal-announcements
.. _`mezzanine-buffer`: https://github.com/caffodian/mezzanine-bufferannouncements
.. _`Buffer`: http://buffer.com


.. PEOPLE WITH QUOTES
Expand Down
11 changes: 6 additions & 5 deletions mezzanine/blog/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,12 @@ def item_pubdate(self, item):
def item_categories(self, item):
return item.categories.all()

def item_enclosure_url(self, item):
if item.featured_image:
domain = Site.objects.get_current().domain
enclosure_url = "http://%s%s" % (domain, item.featured_image.url)
return enclosure_url
def item_enclosure_url(self, item):
if item.featured_image:
domain = Site.objects.get_current().domain
enclosure_url = "http://%s%s" % (domain, item.featured_image.url)
return enclosure_url


class PostsAtom(PostsRSS):
"""
Expand Down

0 comments on commit af1706e

Please sign in to comment.