~ubuntu-branches/ubuntu/wily/gramps/wily

« back to all changes in this revision

Viewing changes to debian/patches/0002-HTML-view-fails-to-load.patch

  • Committer: Package Import Robot
  • Author(s): Ross Gammon
  • Date: 2015-05-16 11:49:41 UTC
  • mfrom: (39.1.17 sid)
  • Revision ID: package-import@ubuntu.com-20150516114941-hiku87mi6p7wbjba
Tags: 4.1.3~dfsg-1
* New upstream release
* Fixes manpage desription of import function (LP: #1427444)
* Fixes crash when closing detatched gramplet (Closes: #785393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From: Doug Blank <dblank@cs.brynmawr.edu>
2
 
Date: Fri, 13 Mar 2015 22:12:39 -0400
3
 
Subject: 8023 - HTML view fails to load
4
 
 
5
 
 * gramps/plugins/view/htmlrenderer.py: Replaced file() with open()
6
 
 
7
 
Origin: Upstream, d9cc3d3b0ea1e1cc7b70b1c0ef043a1b4f51a272
8
 
Bug: https://gramps-project.org/bugs/view.php?id=8023
9
 
 
10
 
---
11
 
 gramps/plugins/view/htmlrenderer.py | 2 +-
12
 
 1 file changed, 1 insertion(+), 1 deletion(-)
13
 
 
14
 
--- gramps.orig/gramps/plugins/view/htmlrenderer.py
15
 
+++ gramps/gramps/plugins/view/htmlrenderer.py
16
 
@@ -557,7 +557,7 @@
17
 
         # Now we have two views : Web and Geography, we need to create the
18
 
         # startpage only once.
19
 
         if not os.path.exists(filename):
20
 
-            ufd = file(filename, "w+")
21
 
+            ufd = open(filename, "w+")
22
 
             ufd.write(data)
23
 
             ufd.close()
24
 
         return urlunsplit(('file', '',