Subversion Repositories programming

Rev

Rev 121 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 121 Rev 129
Line 39... Line 39...
39
    return tuple(result)
39
    return tuple(result)
40
 
40
 
41
def get_types_re():
41
def get_types_re():
42
    """Returns a compiled regular expression which will find objects of the
42
    """Returns a compiled regular expression which will find objects of the
43
    types specified in this function's definition."""
43
    types specified in this function's definition."""
44
    types = ('avi', 'ogm', 'mkv')
44
    types = ('avi', 'ogm', 'mkv', 'mp4')
45
    types_regex = ''
45
    types_regex = ''
46
 
46
 
47
    for i in types:
47
    for i in types:
48
        types_regex += '%s|' % i
48
        types_regex += '%s|' % i
49
 
49