~david-goetz/swift/zero_byte_obj_audit

« back to all changes in this revision

Viewing changes to bin/swift-object-info

  • 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:
29
29
        sys.exit(1)
30
30
    try:
31
31
        ring = Ring('/etc/swift/object.ring.gz')
32
 
    except:
 
32
    except Exception:
33
33
        ring = None
34
34
    datafile = sys.argv[1]
35
35
    fp = open(datafile, 'rb')