git://git.onelab.eu
/
sface.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fb1ea6
)
new slide credential file names
author
smbaker
<smbaker@fc8clean.lan>
Mon, 19 Dec 2011 01:50:43 +0000
(17:50 -0800)
committer
smbaker
<smbaker@fc8clean.lan>
Mon, 19 Dec 2011 01:50:43 +0000
(17:50 -0800)
sface/sfirenew.py
patch
|
blob
|
history
diff --git
a/sface/sfirenew.py
b/sface/sfirenew.py
index
abbeb57
..
f2cab6b
100644
(file)
--- a/
sface/sfirenew.py
+++ b/
sface/sfirenew.py
@@
-63,6
+63,11
@@
class SfiRenewer(QObject):
if os.path.exists(sliceCredName):
os.remove(sliceCredName)
if os.path.exists(sliceCredName):
os.remove(sliceCredName)
+ # newer SFA has a slightly different slice credential name
+ sliceCredName = config.fullpath(self.hrn + ".slice.cred")
+ if os.path.exists(sliceCredName):
+ os.remove(sliceCredName)
+
open("/tmp/expiration", "w").write(self.newExpiration.strftime("%Y-%m-%dT%H:%M:%SZ"))
# call renewSlivers on the aggregate
open("/tmp/expiration", "w").write(self.newExpiration.strftime("%Y-%m-%dT%H:%M:%SZ"))
# call renewSlivers on the aggregate