gnome-games r8273 - branches/gnome-2-24/gnome-sudoku/src/lib
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8273 - branches/gnome-2-24/gnome-sudoku/src/lib
- Date: Thu, 6 Nov 2008 12:57:20 +0000 (UTC)
Author: rancell
Date: Thu Nov 6 12:57:19 2008
New Revision: 8273
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8273&view=rev
Log:
Use IOError.strerror not IOError.message
Modified:
branches/gnome-2-24/gnome-sudoku/src/lib/sudoku_maker.py
Modified: branches/gnome-2-24/gnome-sudoku/src/lib/sudoku_maker.py
==============================================================================
--- branches/gnome-2-24/gnome-sudoku/src/lib/sudoku_maker.py (original)
+++ branches/gnome-2-24/gnome-sudoku/src/lib/sudoku_maker.py Thu Nov 6 12:57:19 2008
@@ -538,7 +538,7 @@
outfi.write(puzstring+'\t'+str(diff.value)+'\n')
outfi.close()
except IOError, e:
- print 'Error appending pregenerated puzzle: %s' % e.message
+ print 'Error appending pregenerated puzzle: %s' % e.strerror
print 'done writing...'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]