From 7ee11b0f1a6ea6adf23ef82957ed1c2e092c30e4 Mon Sep 17 00:00:00 2001 From: MartyLake Date: Wed, 24 Jul 2019 10:08:40 +0200 Subject: [PATCH] Review: add missing lines --- beets/util/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beets/util/__init__.py b/beets/util/__init__.py index aae14ee63..bb84aedc7 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -222,12 +222,14 @@ def sorted_walk(path, ignore=(), ignore_hidden=False, logger=None): for res in sorted_walk(cur, ignore, ignore_hidden, logger): yield res + def path_as_posix(path): """Return the string representation of the path with forward (/) slashes. """ return path.replace(b'\\', b'/') + def mkdirall(path): """Make all the enclosing directories of path (like mkdir -p on the parent).