Package: gastables
Version: 0.3-1
Severity: normal
Tags: patch

the gastables gui raises this exception:

$ gastables
Traceback (most recent call last):
  File "/usr/bin/gastables", line 452, in Quit
    self.Close(true)
NameError: global name 'true' is not defined

when using the "Modules" / "Exit" menu item.

reason is a simple typo ("true" instead of "True"), patch attached.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gastables depends on:
ii  python                      2.5.4-2      An interactive high-level object-o
ii  python-central              0.6.13       register and build utility for Pyt
ii  python-gastables            0.3-1        compressible flow gas table module
ii  python-matplotlib           0.99.1.2-1   Python based plotting system in a 
ii  python-wxgtk2.8             2.8.7.1-2+b1 wxWidgets Cross-platform C++ GUI t

gastables recommends no packages.

gastables suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/gastables (from gastables package)
diff --git a/gui/gastables b/gui/gastables
index 8f05772..e0559d5 100755
--- a/gui/gastables
+++ b/gui/gastables
@@ -449,7 +449,7 @@ class GasTables(wx.Frame):
         self.Alert(ABOUT_TITLE,ABOUT_BODY)
 
     def Quit(self, event):
-        self.Close(true)
+        self.Close(True)
 
     def Alert(self,title,msg):
         dlg = wx.MessageDialog(self, msg, title, wx.OK | wx.ICON_INFORMATION)

Attachment: signature.asc
Description: Digital signature

Reply via email to