Permalink
Browse files

Binary objects do not have a filename method

  • Loading branch information...
1 parent f8483a8 commit b3611159bd60aee41d8d713cb803dd842a04191e @aclark4life aclark4life committed with garbas Oct 19, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/plone/app/blob/adapters/xmlrpc.py
@@ -20,10 +20,6 @@ def feed(self, blob):
blobfile.writelines(self.context.data)
blobfile.close()
- def filename(self):
- """ see interface ... """
- return getattr(self.context, 'filename', None)
-
def mimetype(self):
""" see interface ... """
return 'application/octet-stream'

0 comments on commit b361115

Please sign in to comment.