[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] XCP 1.5 beta api
Hiya, We don't use it any more (clearly!) but it was an extremely small function - you could probably just implement it elsewhere: def get_mtime(path): st = ioretry_stat(lambda: os.stat(path)) return st[stat.ST_MTIME] Also, this isn't specific to XCP - the same code is in XS 6.0. Does that not affect you too? Jon On 19 Apr 2012, at 10:02, Abhinandan Prateek wrote: > > We are testing support for XCP 1.5 beta in the cloudstack software. While > testing we saw that the method get_mtime is omitted from > /opt/xensource/sm/util.py. This method is present in XCP 1.1. The sr dir > timestamp is used by cloudstack to check if the sr has changed. > > Is there a reason to do that ? Will it be possible to add it back. > > Thanks and Regards, > Abhinandan Prateek > > _______________________________________________ > xen-api mailing list > xen-api@xxxxxxxxxxxxx > http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxx http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |