Commit dea38fc7 authored by 's avatar

Removed an indiscreet bit of test code that somehow got checked in... ;)

parent 4d771f52
......@@ -84,7 +84,7 @@
##############################################################################
"""Image object"""
__version__='$Revision: 1.66 $'[11:-2]
__version__='$Revision: 1.67 $'[11:-2]
import Globals, string, struct, mimetypes, content_types
from Globals import HTMLFile, MessageDialog
......@@ -242,8 +242,6 @@ class File(Persistent,Implicit,PropertyManager,
self.dav__init(REQUEST, RESPONSE)
type=REQUEST.get_header('content-type', None)
body=REQUEST.get('BODY', '')
if not len(body):
raise 'bullshit', 'bullshit'
if type is None:
type, enc=mimetypes.guess_type(self.id())
if type is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment