X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fplanetlab%2Fplslices.py;h=9c97113013c3f232390867085c70896ae30addae;hb=a6e53bbd1a3107d19dbbda97b7dcfd1a38a66edd;hp=decb54646cf374aa187243a29ef8c16d86e29ebf;hpb=da6eb040da28f9163fd727cd50b5d19c89c3729a;p=sfa.git diff --git a/sfa/planetlab/plslices.py b/sfa/planetlab/plslices.py index decb5464..9c971130 100644 --- a/sfa/planetlab/plslices.py +++ b/sfa/planetlab/plslices.py @@ -112,7 +112,8 @@ class PlSlices: # XXX Sanity check; though technically this should be a system invariant # checked with an assertion - if slice['expires'] > MAXINT: slice['expires']= MAXINT + if slice['expires'] > MAXINT: + slice['expires'] = MAXINT slivers.append({ 'hrn': hrn,