(self, name)
Extract timestamp of job names
Extract timestamp of job names
Extract timestamp of job names
def _extract_job_timestamp(self, name):
        """
        Extract timestamp of job names
        """
        ts = name.split('-')[-1]
        if ts.isdigit():
            return int(ts)
        else:
            self.log.debug("Cannot extract ts from job name %s", name)
            return None
def _extract_job_timestamp ( self , name ) : ts = name . split ( '-' ) [ - 1 ] if ts . isdigit ( ) : return int ( ts ) else : self . log . debug ( "Cannot extract ts from job name %s" , name ) return None