def timestamp_feature(catalog, soup):
    """The datetime the xml file was last modified.
    """
    catalog.timestamp = int(soup.coursedb['timestamp'])
    catalog.datetime = datetime.datetime.fromtimestamp(catalog.timestamp)
    logger.info('Catalog last updated on %s' % catalog.datetime)
def timestamp_feature ( catalog , soup ) : catalog . timestamp = int ( soup . coursedb [ 'timestamp' ] ) catalog . datetime = datetime . datetime . fromtimestamp ( catalog . timestamp ) logger . info ( 'Catalog last updated on %s' % catalog . datetime )
The datetime the xml file was last modified.