Skip to content

Commit

Permalink
[shipit_ascii_art] Fix up pyflakes warnings.
Browse files Browse the repository at this point in the history
Trivial change to fix some warnings in shipit_ascii_art.
  • Loading branch information
davidt committed Sep 8, 2014
1 parent 6d5d929 commit 389922d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions shipit_ascii_art/shipit_ascii_art/admin_urls.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from django.conf.urls.defaults import patterns, url

from shipit_ascii_art.extension import AsciiArt


urlpatterns = patterns('shipit_ascii_art.views',
url(r'^$', 'configure'),
Expand Down
3 changes: 0 additions & 3 deletions shipit_ascii_art/shipit_ascii_art/extension.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# shipit_ascii_art Extension for Review Board.
from django.conf import settings
from django.conf.urls.defaults import patterns, include
from reviewboard.extensions.base import Extension
from reviewboard.extensions.hooks import DashboardHook, URLHook

from shipit_ascii_art.handlers import SignalHandlers

Expand Down
1 change: 0 additions & 1 deletion shipit_ascii_art/shipit_ascii_art/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def _review_published(self, **kwargs):
# Only add the ship-it ascii art if this review has a ship-it
if review.ship_it:
rich = hasattr(review, 'rich_text') and review.rich_text
print 'Got a published review with ship it!, rich=%s' % rich

if rich:
review.body_top += '\n```\n'
Expand Down

0 comments on commit 389922d

Please sign in to comment.