git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup for using the config dir properly, and not an hard-wired ~/.sfi/
[sface.git]
/
sface
/
sfirenew.py
diff --git
a/sface/sfirenew.py
b/sface/sfirenew.py
index
863b253
..
17cd8d6
100644
(file)
--- a/
sface/sfirenew.py
+++ b/
sface/sfirenew.py
@@
-44,7
+44,7
@@
class SfiRenewer(QObject):
def finishedUpdateRecord(self):
# we have to force sfi.py to download an updated slice credential
def finishedUpdateRecord(self):
# we have to force sfi.py to download an updated slice credential
- sliceCredName =
os.path.expanduser("~/.sfi/
slice_" + self.hrn.split(".")[-1] + ".cred")
+ sliceCredName =
config.fullpath("
slice_" + self.hrn.split(".")[-1] + ".cred")
if os.path.exists(sliceCredName):
os.remove(sliceCredName)
if os.path.exists(sliceCredName):
os.remove(sliceCredName)