Author: glen                         Date: Thu Apr 24 09:37:22 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix name variable referenced before assiged

---- Files affected:
SOURCES:
   apport-undefinedreference.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apport-undefinedreference.patch
diff -u /dev/null SOURCES/apport-undefinedreference.patch:1.1
--- /dev/null   Thu Apr 24 11:37:22 2008
+++ SOURCES/apport-undefinedreference.patch     Thu Apr 24 11:37:17 2008
@@ -0,0 +1,23 @@
+--- apport-0.107/cli/apport-cli        2008-04-04 17:18:41.000000000 +0300
++++ apport-0.107/cli/apport-cli        2008-04-24 12:35:11.000000000 +0300
+@@ -124,9 +124,6 @@
+ 
+     def ui_present_crash(self, desktop_entry):
+         date = datetime.strptime(self.report['Date'], '%a %b %d %H:%M:%S %Y')
+-        # adapt dialog heading and label appropriately
+-        # translators: first %s: application name, second %s: date, third %s: 
time
+-        heading = _('%s closed unexpectedly on %s at %s.') % (name, 
date.date(), date.time())
+         if desktop_entry:
+             name = desktop_entry.getName()
+         elif self.report.has_key('ExecutablePath'):
+@@ -134,6 +131,10 @@
+         else:
+             name = self.cur_package
+ 
++        # adapt dialog heading and label appropriately
++        # translators: first %s: application name, second %s: date, third %s: 
time
++        heading = _('%s closed unexpectedly on %s at %s.') % (name, 
date.date(), date.time())
++
+         dialog = CLIDialog(
+                 heading,
+                 _('If you were not doing anything confidential (entering 
passwords or other\n'
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to