gnome-games r7819 - trunk/glchess/src/lib
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7819 - trunk/glchess/src/lib
- Date: Thu, 14 Aug 2008 14:02:08 +0000 (UTC)
Author: rancell
Date: Thu Aug 14 14:02:07 2008
New Revision: 7819
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7819&view=rev
Log:
Use chess.pgn.Error.message not chess.pgn.Error.description (Bug #544931)
Modified:
trunk/glchess/src/lib/history.py
Modified: trunk/glchess/src/lib/history.py
==============================================================================
--- trunk/glchess/src/lib/history.py (original)
+++ trunk/glchess/src/lib/history.py Thu Aug 14 14:02:07 2008
@@ -37,7 +37,7 @@
try:
p = chess.pgn.PGN(fileName, 1)
except chess.pgn.Error, e:
- print e.description
+ print e.message
except IOError, e:
print e.strerror
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]