Package: python-m2crypto
Version: 0.18.2-1
Severity: important
Tags: patch

m2urllib2.py in M2Crypto uses from urllib 2 import *, which in python 2.4 also
brought in inspect, which is no longer the case in 2.5. Adding an explicit
inspect import works fine:

---snip---
--- m2urllib2.py.orig   2008-04-25 13:07:10.000000000 +0200
+++ m2urllib2.py    2008-04-25 13:07:40.000000000 +0200
@@ -12,6 +12,7 @@
 """
 
 from urllib2 import *
+import inspect
 import urlparse
 
 import SSL
---snap---

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-1-powerpc
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 python-m2crypto depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libssl0.9.8                   0.9.8g-8   SSL shared libraries
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-support                0.7.7      automated rebuilding support for P

python-m2crypto 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