equal
deleted
inserted
replaced
81 """Return a release note URL pointing to the correct release notes |
81 """Return a release note URL pointing to the correct release notes |
82 for this version""" |
82 for this version""" |
83 |
83 |
84 # TBD: replace with a call to api.info() that can return a "release" |
84 # TBD: replace with a call to api.info() that can return a "release" |
85 # attribute of form YYYYMM against the SUNWsolnm package |
85 # attribute of form YYYYMM against the SUNWsolnm package |
86 return "http://www.oracle.com/pls/topic/lookup?ctx=E23824&id=SERNS" |
86 return "https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=REFERENCE&id=1372094.1" |
87 |
87 |
88 def time_to_timestamp(t): |
88 def time_to_timestamp(t): |
89 """convert seconds since epoch to %Y%m%dT%H%M%SZ format""" |
89 """convert seconds since epoch to %Y%m%dT%H%M%SZ format""" |
90 # XXX optimize? |
90 # XXX optimize? |
91 return time.strftime("%Y%m%dT%H%M%SZ", time.gmtime(t)) |
91 return time.strftime("%Y%m%dT%H%M%SZ", time.gmtime(t)) |