Found yet another bug in the get_files function:


def get_files(paths):
    if not paths:
        paths = ["."]
    files = []
    for p in paths:

        if os.path.isdir(p):
            dir = p
            dir = os.path.dirname(p)

        _files = execute(["svn", "list", "--recursive", p],
        _files = [os.path.join(dir, file) for file in _files]
        _files = [os.path.abspath(f) for f in _files]

        for f in _files:
            if os.path.isfile(f):

    # return sorted list of files. convert to set and back to list to
remove duplicates
    return sort_and_remove_duplicates(files)


Guess I'll stop spamming the list with this now....

 --- Jeppe
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to