From 506de8b6fc08856a1ec42862f573920567d6e38f Mon Sep 17 00:00:00 2001 From: Jorrit Poelen Date: Sun, 18 Nov 2018 09:57:16 -0800 Subject: [PATCH 1/2] Update ia_copy.py typo Destiantion -> Destination --- internetarchive/cli/ia_copy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internetarchive/cli/ia_copy.py b/internetarchive/cli/ia_copy.py index 47a9a1ce..96cb3581 100644 --- a/internetarchive/cli/ia_copy.py +++ b/internetarchive/cli/ia_copy.py @@ -69,12 +69,12 @@ def main(argv, session, cmd='copy'): s = Schema({ str: Use(bool), '/': And(str, And(And(str, lambda x: '/' in x, - error='Destiantion not formatted correctly. See usage example.'), + error='Destination not formatted correctly. See usage example.'), assert_src_file_exists, error=( 'https://archive.org/download/{} does not exist. ' 'Please check the identifier and filepath and retry.'.format(src_path)))), '/': And(str, lambda x: '/' in x, - error='Destiantion not formatted correctly. See usage example.'), + error='Destination not formatted correctly. See usage example.'), '--metadata': Or(None, And(Use(get_args_dict), dict), error='--metadata must be formatted as --metadata="key:value"'), '--header': Or(None, And(Use(get_args_dict), dict), From fd074b4da21a1f715d8a300db9364a7299ca0531 Mon Sep 17 00:00:00 2001 From: Jorrit Poelen Date: Sun, 18 Nov 2018 09:58:04 -0800 Subject: [PATCH 2/2] typo Destiantion -> Destination --- internetarchive/cli/ia_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internetarchive/cli/ia_move.py b/internetarchive/cli/ia_move.py index d318403d..bf923507 100644 --- a/internetarchive/cli/ia_move.py +++ b/internetarchive/cli/ia_move.py @@ -53,7 +53,7 @@ def main(argv, session): '/': And(str, lambda x: '/' in x, error='Source not formatted correctly. See usage example.'), '/': And(str, lambda x: '/' in x, - error='Destiantion not formatted correctly. See usage example.'), + error='Destination not formatted correctly. See usage example.'), }) try: args = s.validate(args)