All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 8a95f37a authored by David Johnson's avatar David Johnson

Shouldn't care what's in the db for the lease end time.

parent babd8395
......@@ -2856,8 +2856,15 @@ class EmulabSlice(Slice):
"Multiple entries found for slice %s (%s) for %s/%s" % \
((self.slicemeta,leaseend),) = res
self.leaseend = calendar.timegm(time.strptime(str(leaseend),
"%Y-%m-%d %H:%M:%S"))
self.leaseend = calendar.timegm(time.strptime(str(leaseend),
"%Y-%m-%d %H:%M:%S"))
self.leaseend = 0
print "Warning: could not load leaseend time from db for" \
" slice %s (%s) for %s/%s" % (self.slicename,,,self.eid)
def renew(self, force = False, renewSlice=True, renewNodes=True):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment