Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
przadka committed Apr 28, 2023
1 parent 757dba2 commit fba7642
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions b2sdk/scan/folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,15 @@ def is_ancestor_directory(potential_ancestor, dir):
[potential_ancestor, dir]
)

local_dir = fix_windows_path_limit(local_dir)

if not starting_dir is None:
starting_dir = fix_windows_path_limit(starting_dir)

relative_dir_path = fix_windows_path_limit(relative_dir_path)
# local_dir = fix_windows_path_limit(local_dir)
#
# if not starting_dir is None:
# starting_dir = fix_windows_path_limit(starting_dir)
#
# relative_dir_path = fix_windows_path_limit(relative_dir_path)

#FIXME should i use relative_dir_path rather than starting_dir?
#FIXME should i contruct starting_dir dynamically based on relative_dir_path and local_dir?

Check failure on line 224 in b2sdk/scan/folder.py

View workflow job for this annotation

GitHub Actions / lint

contruct ==> construct

if not isinstance(local_dir, str):
raise ValueError('folder path should be unicode: %s' % repr(local_dir))
Expand Down

0 comments on commit fba7642

Please sign in to comment.