~david-goetz/swift/zero_byte_obj_audit

« back to all changes in this revision

Viewing changes to swift/account/server.py

  • Committer: Tarmac
  • Author(s): David Goetz
  • Date: 2011-01-26 23:56:47 UTC
  • mfrom: (176.1.2 bare_except)
  • Revision ID: tarmac-20110126235647-rvhywh8z0vh2qm4j
Removing bare excepts from code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
305
305
                    res = getattr(self, req.method)(req)
306
306
                else:
307
307
                    res = HTTPMethodNotAllowed()
308
 
            except:
 
308
            except Exception:
309
309
                self.logger.exception(_('ERROR __call__ error with %(method)s'
310
310
                    ' %(path)s '), {'method': req.method, 'path': req.path})
311
311
                res = HTTPInternalServerError(body=traceback.format_exc())