~david-goetz/swift/zero_byte_obj_audit

« back to all changes in this revision

Viewing changes to test/unit/common/middleware/test_ratelimit.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:
51
51
    def delete(self, key):
52
52
        try:
53
53
            del self.store[key]
54
 
        except:
 
54
        except Exception:
55
55
            pass
56
56
        return True
57
57