Name error after backports ssl.match_hostname but not ssl.CertificateError

Bug #1166644 reported by Andrey Voronov
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

  File "/usr/lib/python2.7/ssl.py", line 111, in _dnsname_to_pat
    frag = re.escape(frag)
NameError: global name 're' is not defined

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python2.7 (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python2.7 - 2.7.4-1ubuntu3

---------------
python2.7 (2.7.4-1ubuntu3) raring; urgency=low

  * Add the io and _io modules to libpython2.7-minimal. LP: #1165172.
  * Add missing import for the ssl module. LP: #1166644.
 -- Matthias Klose <email address hidden> Tue, 09 Apr 2013 12:11:12 +0200

Changed in python2.7 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.