Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435888 Details for
Bug 584624
games-util/pyfa-9999 patch -p1 failed with /usr/portage/games-util/pyfa/files/pyfa-1.20.2-html-export-path.patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch for version 1.21.4
pyfa-1.21.4-html-export-path.patch (text/plain), 1.25 KB, created by
Martin McCourt
on 2016-05-31 02:57:16 UTC
(
hide
)
Description:
updated patch for version 1.21.4
Filename:
MIME Type:
Creator:
Martin McCourt
Created:
2016-05-31 02:57:16 UTC
Size:
1.25 KB
patch
obsolete
>From dc07b64245459ff75c638dedc14ac86bdf9bc176 Mon Sep 17 00:00:00 2001 >From: Alexandre Rostovtsev <tetromino@gentoo.org> >Date: Mon, 16 Jul 2012 05:43:38 -0400 >Subject: [PATCH] Export fits to home directory, not python sitedir > >--- > service/settings.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/service/settings.py b/service/settings.py >index 60627e6..7087e5c 100644 >--- a/service/settings.py >+++ b/service/settings.py >@@ -21,6 +21,7 @@ import cPickle > import os.path > import config > import urllib2 >+import sys > > class SettingsProvider(): > BASE_PATH = os.path.join(config.savePath, "settings") >@@ -221,7 +222,7 @@ class HTMLExportSettings(): > return cls._instance > > def __init__(self): >- serviceHTMLExportDefaultSettings = {"enabled": False, "path": config.pyfaPath + os.sep + 'pyfaFits.html', "website": "null-sec.com", "minimal": False } >+ serviceHTMLExportDefaultSettings = {"enabled": False, "path": unicode(os.path.expanduser(os.path.join('~', 'pyfaFits.html')), sys.getfilesystemencoding()), "website": "null-sec.com" } > self.serviceHTMLExportSettings = SettingsProvider.getInstance().getSettings("pyfaServiceHTMLExportSettings", serviceHTMLExportDefaultSettings) > > def getEnabled(self): >-- >2.8.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 584624
: 435888 |
435890