r7034 - packages/trunk/renpy/debian/patches

Miriam Ruiz miriam at alioth.debian.org
Thu May 15 14:39:05 UTC 2008


Author: miriam
Date: 2008-05-15 14:39:05 +0000 (Thu, 15 May 2008)
New Revision: 7034

Modified:
   packages/trunk/renpy/debian/patches/02_traceback.patch
Log:
Fixed minor problem in patch



Modified: packages/trunk/renpy/debian/patches/02_traceback.patch
===================================================================
--- packages/trunk/renpy/debian/patches/02_traceback.patch	2008-05-15 14:34:25 UTC (rev 7033)
+++ packages/trunk/renpy/debian/patches/02_traceback.patch	2008-05-15 14:39:05 UTC (rev 7034)
@@ -1,7 +1,7 @@
 Index: renpy-6.6.2/renpy/bootstrap.py
 ===================================================================
---- renpy-6.6.2.orig/renpy/bootstrap.py	2008-02-04 17:58:06.000000000 +0000
-+++ renpy-6.6.2/renpy/bootstrap.py	2008-05-15 14:21:43.000000000 +0000
+--- renpy-6.6.2.orig/renpy/bootstrap.py	2008-05-15 14:36:33.000000000 +0000
++++ renpy-6.6.2/renpy/bootstrap.py	2008-05-15 14:37:49.000000000 +0000
 @@ -288,10 +288,24 @@
      print renpy.game.exception_info
      report_tb(sys.stdout, tb)
@@ -28,12 +28,10 @@
  
          f.write(codecs.BOM_UTF8)
  
-@@ -323,10 +337,17 @@
+@@ -323,10 +337,18 @@
          f.close()
  
          try:
--            if renpy.config.editor:
--                renpy.exports.launch_editor([ 'traceback.txt' ], 1, transient=1)
 +            tbdir = renpy.config.savedir
 +            if tbdir[-1] == '/':
 +                tbdir = tbdir[:-1]
@@ -41,7 +39,9 @@
 +            try:
 +                os.makedirs(tbdir)
 +            except:
-+                pass            if renpy.config.editor:
++                pass
+             if renpy.config.editor:
+-                renpy.exports.launch_editor([ 'traceback.txt' ], 1, transient=1)
 +                renpy.exports.launch_editor([ tbdir + 'traceback.txt' ], 1, transient=1)
              else:
 -                os.startfile('traceback.txt')




More information about the Pkg-games-commits mailing list