mirror of
https://github.com/samschott/maestral.git
synced 2024-10-06 18:37:20 +03:00
fixed some typos
This commit is contained in:
parent
b0de9b03ea
commit
1e22b338cd
@ -136,8 +136,8 @@ def generate_cc_name(path, suffix='conflicting copy'):
|
||||
|
||||
def delete(path, raise_error=False):
|
||||
"""
|
||||
Deletes a file or folder at :param:`path`. Returns any caught
|
||||
exceptions on failure or None on success.
|
||||
Deletes a file or folder at ``path``. Exceptions are either raised or returned if
|
||||
``raise_error`` is False.
|
||||
"""
|
||||
err = None
|
||||
|
||||
@ -159,7 +159,7 @@ def move(src_path, dest_path, raise_error=False):
|
||||
"""
|
||||
Moves a file or folder from ``src_path`` to ``dest_path``. If either the source or
|
||||
the destination path no longer exist, this function does nothing. Any other
|
||||
exceptions are either raised or returned if `raise_error` is False.
|
||||
exceptions are either raised or returned if ``raise_error`` is False.
|
||||
"""
|
||||
err = None
|
||||
|
||||
|
@ -40,7 +40,7 @@ def dropbox_stone_to_dict(obj):
|
||||
|
||||
|
||||
def error_to_dict(err):
|
||||
""""
|
||||
"""
|
||||
Converts an exception to a dict. Keys will be strings and entries are native Python
|
||||
types.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user