[Bug 1227291] Re: NameError: global name 'StringType' is not defined

Dmitrijs Ledkovs launchpad at surgut.co.uk
Fri Oct 11 09:18:44 UTC 2013


paste (1.7.5.1-6ubuntu1) saucy; urgency=low

  * Merge with Debian; remaining changes:
    - debian/control: Demote libjs-mochikit back to suggests because dh_python2
      doesn't have the same symlink problem as python-support.

paste (1.7.5.1-6) unstable; urgency=low

  * Team upload.
  * Fix one more python2/3 incompatibility in the lint.py.
 -- Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com>   Fri, 20 Sep 2013 03:12:08 +0100

** Changed in: paste (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to paste in Ubuntu.
https://bugs.launchpad.net/bugs/1227291

Title:
  NameError: global name 'StringType' is not defined

Status in “paste” package in Ubuntu:
  Fix Released

Bug description:
  With paste 1.7.5.1-5, the conversion to support both Python 3.x and
  2.x seems incomplete, and results in the following error, when
  attempting to run the unit tests for the u1db package:

    File "/usr/lib/python2.7/dist-packages/paste/lint.py", line 158, in start_response_wrapper
      check_status(status)
    File "/usr/lib/python2.7/dist-packages/paste/lint.py", line 361, in check_status
      assert type(status) is StringType, (
  NameError: global name 'StringType' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/paste/+bug/1227291/+subscriptions



More information about the foundations-bugs mailing list