!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
  Please report the following lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: AttributeError: 'S3Error' object has no attribute 'Code'
S3cmd:   0.9.9
Python:  2.6.4 (r264:75706, Dec  7 2009, 18:45:15)  [GCC 4.4.1]

Traceback (most recent call last):
  File "/usr/bin/s3cmd", line 1562, in <module>
    main()
  File "/usr/bin/s3cmd", line 1542, in main
    cmd_func(args)
  File "/usr/bin/s3cmd", line 43, in cmd_du
    subcmd_bucket_usage(s3, uri)
  File "/usr/bin/s3cmd", line 69, in subcmd_bucket_usage
    if S3.codes.has_key(e.Code):
AttributeError: 'S3Error' object has no attribute 'Code'

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    An unexpected error has occurred.
    Please report the above lines to:
   s3tools-bugs@lists.sourceforge.net
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!