src/modules/misc.py
branchoi_151a
changeset 2522 8cb391c2269d
parent 2112 5e0694e53b38
child 2546 2b1fa6a54b5e
equal deleted inserted replaced
2521:c8e203ca6e6e 2522:8cb391c2269d
    61         """Return a release note URL pointing to the correct release notes
    61         """Return a release note URL pointing to the correct release notes
    62            for this version"""
    62            for this version"""
    63 
    63 
    64         # TBD: replace with a call to api.info() that can return a "release"
    64         # TBD: replace with a call to api.info() that can return a "release"
    65         # attribute of form YYYYMM against the SUNWsolnm package
    65         # attribute of form YYYYMM against the SUNWsolnm package
    66         return "http://docs.sun.com/doc/821-1479"
    66         return "http://wiki.openindiana.org/oi/oi_151a+Release+Notes"
    67 
    67 
    68 def time_to_timestamp(t):
    68 def time_to_timestamp(t):
    69         """convert seconds since epoch to %Y%m%dT%H%M%SZ format"""
    69         """convert seconds since epoch to %Y%m%dT%H%M%SZ format"""
    70         # XXX optimize?
    70         # XXX optimize?
    71         return time.strftime("%Y%m%dT%H%M%SZ", time.gmtime(t))
    71         return time.strftime("%Y%m%dT%H%M%SZ", time.gmtime(t))