remove print

This commit is contained in:
Oskar Hahn 2012-04-18 23:36:52 +02:00
parent 9849140d2e
commit 1d285a1c15

View File

@ -338,7 +338,6 @@ class Application(models.Model, SlideMixin):
and user != self.submitter and user != self.submitter
and user not in self.supporter.all() and user not in self.supporter.all()
and getattr(user, 'profile', None)): and getattr(user, 'profile', None)):
print "es ist ok"
actions.append("support") actions.append("support")
except Profile.DoesNotExist: except Profile.DoesNotExist:
pass pass
@ -533,7 +532,6 @@ class ApplicationPoll(BasePoll, CountInvalid, CountVotesCast):
return reverse('application_poll_view', args=[self.id]) return reverse('application_poll_view', args=[self.id])
def get_ballot(self): def get_ballot(self):
print "Ballot"
return self.application.applicationpoll_set.filter(id__lte=self.id).count() return self.application.applicationpoll_set.filter(id__lte=self.id).count()