Skip to content

Commit

Permalink
[azure] Remove undocumented & unused get_name_max_len (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneier committed Apr 21, 2024
1 parent 1048d8b commit 74864ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions storages/backends/azure_storage.py
Expand Up @@ -403,9 +403,3 @@ def listdir(self, path=""):
else:
files.append(n)
return list(dirs), files

def get_name_max_len(self):
max_len = _AZURE_NAME_MAX_LEN - len(self._get_valid_path("foo")) - len("foo")
if not self.overwrite_files:
max_len -= len("_1234567")
return max_len

0 comments on commit 74864ec

Please sign in to comment.