Package: s3cmd Version: 0.9.3-1 Severity: minor Tags: patch Line 68 of S3/S3Uri.py contains an instance of the new decorator syntax introduced in Python 2.4.
@staticmethod def compose_uri(bucket, object = ""): return "s3://%s/%s" % (bucket, object) You'd have to go back as far as Sarge to find a release that contains a Python version older than 2.4, but there are bound to be quite a few people who've upgraded from older releases and still have python2.3 installed. As it stands now, byte-compilation fails and the package is left in an unusable state when an older Python version is installed. Please version your Python dependency to >= 2.4. Optionally, a one line patch (attached), will allow s3cmd to work properly with older python versions. Thanks, -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (700, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages s3cmd depends on: ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.14 register and build utility for Pyt ii python-elementtree 1.2.6-11 Light-weight toolkit for XML proce s3cmd recommends no packages. -- no debconf information -- Eric Evans [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"
signature.asc
Description: Digital signature