Twas brillig at 10:52:45 12.07.2007 UTC+12 when Michal Ludvig did gyre and gimble:
ML> I'm keen to include a patch to make it compatible with 2.3 again (could you ML> provide that patch please?) but can't ensure that I won't introduce any ML> other incompatibility over time. Oops, I did not realise attachment has been stripped when I forwarded mail to you. Attached. ML> If you want to be safe make it dependent on Python 2.4 or higher. Ok. ML> BTW I'm about to release s3cmd 0.9.4 with all your updates as soon as we ML> solve all these problems (please use SVN version for your tests). Great! -- JID: [EMAIL PROTECTED]
--- S3/S3Uri.py 2007-03-25 17:43:56.000000000 -0500 +++ S3/S3Uri.py 2007-07-10 14:42:44.000000000 -0500 @@ -65,9 +65,9 @@ def public_url(self): return "http://s3.amazonaws.com/%s/%s" % (self._bucket, self._object) - @staticmethod def compose_uri(bucket, object = ""): return "s3://%s/%s" % (bucket, object) + compose_uri = staticmethod(compose_uri) class S3UriS3FS(S3Uri): type = "s3fs"