Skip to content

Commit

Permalink
Removed several print statements (which cause mod_wsgi to throw 500).
Browse files Browse the repository at this point in the history
  • Loading branch information
lethain committed Feb 22, 2009
1 parent bef4eee commit 56598fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions editor/views.py
Expand Up @@ -305,7 +305,6 @@ def add_resource(request):
while (os.path.isfile(filepath)):
filename = "_%s" % filename
filepath = "%s%s" % (filebase, filename)
print filepath
fd = open(filepath, 'wb')

fd.write(file.read())
Expand Down Expand Up @@ -563,10 +562,8 @@ def create_author(request,id=None):

@login_required
def render(request, model=None, id=None):
print request, id, model
if id is None and request.POST.has_key('pk'):
id = request.POST['pk']
print request, id

if id is None:
txt = entry_markup(request.POST['txt'])
Expand Down

0 comments on commit 56598fd

Please sign in to comment.