Package: python-twisted-web2
Version: 0.2.0+svn20070403-1
Severity: normal

If you import the version info from twisted.web2:

    from twisted.web2._version import version

Then the version object can report the version of the package:

    version.short()

This can even include info on the SVN version used, which would be great
for twisted.web2 since it is currently taken from SVN. However, it currently
gets this info by looking for a '.svn/entries' file, which of course doesn't
exist in the current package. So the current version, 0.2.0+svn20070403,
gets reported as 0.2.0.

It would be great if this info could be somehow added to the info in
twisted.web2._version.py so that it is accurate. I can't think of an
elegant way to do this, so perhaps just patching the _version.py file
to modify the _getSVNVersion() function is the only way.

Thanks,
Cameron


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-twisted-web2 depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.5.15     register and build utility for Pyt
ii  python-twisted-core           2.5.0-2    Event-based framework for internet

python-twisted-web2 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to