[renpy] 01/01: Fix translations-tmpdir.patch and use os.path.expanduser.
Markus Koschany
apo at moszumanska.debian.org
Thu Dec 22 18:03:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository renpy.
commit 158f3bfc7810eab2b5894ecc1d78a8596c00c0c4
Author: Markus Koschany <apo at debian.org>
Date: Thu Dec 22 18:47:43 2016 +0100
Fix translations-tmpdir.patch and use os.path.expanduser.
---
debian/changelog | 7 +++++++
debian/patches/translations-tmpdir.patch | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4720a72..76306dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+renpy (6.99.12+dfsg-2) unstable; urgency=medium
+
+ * Team upload.
+ * Fix translations-tmpdir.patch and use os.path.expanduser.
+
+ -- Markus Koschany <apo at debian.org> Thu, 22 Dec 2016 18:47:09 +0100
+
renpy (6.99.12+dfsg-1) unstable; urgency=medium
* Team upload.
diff --git a/debian/patches/translations-tmpdir.patch b/debian/patches/translations-tmpdir.patch
index 2ef1699..3da4610 100644
--- a/debian/patches/translations-tmpdir.patch
+++ b/debian/patches/translations-tmpdir.patch
@@ -19,13 +19,13 @@ index 5184ecf..e65c74c 100644
try:
- os.makedirs(os.path.join(config.basedir, "tmp"))
-+ os.makedirs("~/.renpy/tmp")
++ os.makedirs(os.path.expanduser("~/.renpy/tmp"))
except:
pass
- STRINGS_JSON = os.path.join(config.basedir, "tmp", "strings.json")
-+ STRINGS_JSON = os.path.join("~/.renpy/tmp/", "strings.json")
++ STRINGS_JSON = os.path.join(os.path.expanduser("~/.renpy/tmp/"), "strings.json")
screen translate:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git
More information about the Pkg-games-commits
mailing list