X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface%2Fsfirenew.py;h=f2cab6bdfab0c5e49b23c7c58d1e647d5afb2a4b;hp=abbeb57abbcf15da075f989001c7387e6b837aa0;hb=3df82fab7b2e027b83d21b16529083fbdcf461b7;hpb=8fb1ea6942cc6effcc52b93bf0cc4fe204fbc701 diff --git a/sface/sfirenew.py b/sface/sfirenew.py index abbeb57..f2cab6b 100644 --- a/sface/sfirenew.py +++ b/sface/sfirenew.py @@ -63,6 +63,11 @@ class SfiRenewer(QObject): 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