[Debian-med-packaging] Bug#590821: mgltools-viewerframework: This fixes byte compilation problems related to Python 2.7.
Barry Warsaw
barry at ubuntu.com
Mon Jan 24 15:57:21 UTC 2011
Package: mgltools-viewerframework
Version: 1.5.4.cvs.20100912-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
Found and fixed in Ubuntu.
*** /tmp/tmp1frYWy
In Ubuntu, we've applied the attached patch to achieve the following:
* Assignment to __debug__, even as an attribute, is not allowed in
Python 2.7. See upstream tracker issue
<http://bugs.python.org/issue9438>. (LP: #685476)
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers maverick-updates
APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 'maverick')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-24-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
=== modified file 'ViewerFramework/VF.py'
--- ViewerFramework/VF.py 2010-09-12 00:20:31 +0000
+++ ViewerFramework/VF.py 2011-01-20 22:17:35 +0000
@@ -257,10 +257,8 @@
self.hasGui = gui
- global __debug__
self.withShell = withShell
self.trapExceptions = trapExceptions
- self.__debug__ = 0
# create a socket communication object
try:
self.socketComm = Comm()
=== modified file 'debian/changelog'
=== modified file 'debian/control'
--- debian/control 2010-09-12 00:20:31 +0000
+++ debian/control 2011-01-20 22:19:47 +0000
@@ -1,7 +1,8 @@
Source: mgltools-viewerframework
Section: non-free/science
Priority: optional
-Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
DM-Upload-Allowed: yes
XS-Autobuild: yes
Uploaders: Steffen Moeller <moeller at debian.org>, Sargis Dallakyan <sargis at scripps.edu>
More information about the Debian-med-packaging
mailing list