Skip to content

Commit

Permalink
removing print statements as they are problematic with mod_wsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
chris committed Dec 10, 2009
1 parent d3c0fe2 commit a06870f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions djtracker/management/commands/imap_poller.py
Expand Up @@ -55,10 +55,10 @@ def parse_message(self, message, raw_data):
project_slug = match.group().lstrip('[').rstrip(']')

## Get email address
print message['from']
#print message['from']
match = re.search(r'[a-zA-Z0-9+_\-\.]+@[0-9a-zA-Z]*.[a-zA-Z]+',
message['from'])
print match.group()
#print match.group()
email_addy = match.group()
## Get Issue Number (if exists)
match = re.search("Issue #[\d]+", message['subject'])
Expand Down Expand Up @@ -93,7 +93,7 @@ def parse_message(self, message, raw_data):
body = raw_data[message.startofbody:]
content_type = ContentType.objects.get(model='issue')

print can_comment
#print can_comment
if can_comment:
if issue is not None:
comment = Comment()
Expand Down
2 changes: 1 addition & 1 deletion djtracker/views.py
Expand Up @@ -339,7 +339,7 @@ def dashboard(request):
for x in Comment.objects.all():
if x.content_type.name == "issue":
if x.user == user:
print x.id
#print x.id
comments.append(x.content_object.id)

commented_issues = models.Issue.objects.filter(id__in=comments)
Expand Down

0 comments on commit a06870f

Please sign in to comment.