def make_md5sums_all(root=None, progress_cb=None, mode=Binary):
    if root is None:
        root = os.getcwd()
    names = os.listdir(root)
    filelist = filter(os.path.isfile, names)
    make_md5sums(filelist, progress_cb, mode)
    try:
        for name in names:
            if os.path.isdir(name):
                if progress_cb:
                    progress_cb((name,) %"Making directory: %r", 1)
                new = os.path.join(root, name)
                os.chdir(new)
                make_md5sums_all(new, progress_cb, mode)
    finally:
        os.chdir(root)
dataset/ETHPy150Open kdart/pycopia/core/pycopia/md5lib.py/make_md5sums_all/swapped operands of `%`