~ubuntu-branches/ubuntu/natty/openerp-web/natty

« back to all changes in this revision

Viewing changes to openerp/controllers/image.py

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2011-01-01 09:47:48 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110101094748-kpo8wo36lwtgi1ni
Tags: 5.0.15+dfsg-2
* Removing README.source and headers in copyright file.
* Updating year in copyright file.
* Removing vcs fields.
* Orphaning package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
            raise cherrypy.HTTPError(404)
77
77
        return data
78
78
 
79
 
    @expose(template="templates/image.mako")
 
79
    @expose(template="templates/image.mako", methods=('POST',))
80
80
    def add(self, upimage,  **kw):
81
81
 
82
82
        saved = kw.get('saved') or None