mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: Spelling in scripts/modules directory
Fix the following misspellings: "ilisting" -> "listing" "FINISHED_SUCCESFULLY" -> "FINISHED_SUCCESSFULLY" "Therefor" -> "Therefore" "non-conditinally" -> "non-conditionally" Pull Request: https://projects.blender.org/blender/blender/pulls/163929
This commit is contained in:
parent
2ac1e4c040
commit
124f9cb247
5 changed files with 6 additions and 6 deletions
|
|
@ -511,12 +511,12 @@ class AssetDownloader:
|
|||
return 0 # Deactivate the timer.
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"Unexpected error downloading remote asset library ilisting from %s to %s",
|
||||
"Unexpected error downloading remote asset library listing from %s to %s",
|
||||
self._locator.remote_url,
|
||||
self._locator.local_path)
|
||||
|
||||
# Automatically switch between IDLE and DOWNLOADING, but never overwrite
|
||||
# FAILED or FINISHED_SUCCESFULLY.
|
||||
# FAILED or FINISHED_SUCCESSFULLY.
|
||||
if self._status in {DownloadStatus.DOWNLOADING, DownloadStatus.IDLE}:
|
||||
if self._bg_downloader.num_pending_downloads > 0:
|
||||
self._status = DownloadStatus.DOWNLOADING
|
||||
|
|
|
|||
|
|
@ -766,7 +766,7 @@ class RemoteAssetListingDownloader:
|
|||
return 0 # Deactivate the timer.
|
||||
except Exception:
|
||||
logger.exception(
|
||||
"Unexpected error downloading remote asset library ilisting from %s to %s",
|
||||
"Unexpected error downloading remote asset library listing from %s to %s",
|
||||
self._locator.remote_url,
|
||||
self._locator.local_path)
|
||||
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ class StaleFiles:
|
|||
# One could be forgiven for thinking they must never be the same since `path`
|
||||
# is known not be an empty string, one would be mistaken!
|
||||
# WIN32 which considers `C:\path\` the same as `C:\path\. ` to be the same.
|
||||
# Therefor, literal lines containing any combination of trailing full-stop
|
||||
# Therefore, literal lines containing any combination of trailing full-stop
|
||||
# or space characters would be considered files that cannot be removed.
|
||||
# While this should never under normal conditions happen,
|
||||
# guarantee that stale file removal *never* removes anything it should not,
|
||||
|
|
|
|||
|
|
@ -1565,7 +1565,7 @@ class MetadataProviderFilesystem(MetadataProvider):
|
|||
# need to do a conditional download of a zero-bytes file. It is more
|
||||
# likely that something went wrong and a file got truncated.
|
||||
#
|
||||
# And even if the file is of the correct size, non-conditinally
|
||||
# And even if the file is of the correct size, non-conditionally
|
||||
# doing the same request for the empty file will require less data
|
||||
# than including the headers necessary for a conditional download.
|
||||
return False
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ class InfoPropertyRNA:
|
|||
items_static = tuple(rna_prop.enum_items_static)
|
||||
self.enum_items[:] = [(item.identifier, item.name, item.description) for item in items]
|
||||
self.is_enum_flag = rna_prop.is_enum_flag
|
||||
# Prioritize static items as this is never going to be allocated data and is therefor
|
||||
# Prioritize static items as this is never going to be allocated data and is therefore
|
||||
# will be a stable match to compare against.
|
||||
item = (items_static or items)
|
||||
if item:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue