diff options
Diffstat (limited to 'scripts/lib/resulttool/store.py')
-rw-r--r-- | scripts/lib/resulttool/store.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/resulttool/store.py b/scripts/lib/resulttool/store.py index e4a0807528..acdfbd94fd 100644 --- a/scripts/lib/resulttool/store.py +++ b/scripts/lib/resulttool/store.py | |||
@@ -29,7 +29,7 @@ def store(args, logger): | |||
29 | try: | 29 | try: |
30 | results = {} | 30 | results = {} |
31 | logger.info('Reading files from %s' % args.source) | 31 | logger.info('Reading files from %s' % args.source) |
32 | if os.path.isfile(args.source): | 32 | if resultutils.is_url(args.source) or os.path.isfile(args.source): |
33 | resultutils.append_resultsdata(results, args.source) | 33 | resultutils.append_resultsdata(results, args.source) |
34 | else: | 34 | else: |
35 | for root, dirs, files in os.walk(args.source): | 35 | for root, dirs, files in os.walk(args.source): |
@@ -92,7 +92,7 @@ def register_commands(subparsers): | |||
92 | group='setup') | 92 | group='setup') |
93 | parser_build.set_defaults(func=store) | 93 | parser_build.set_defaults(func=store) |
94 | parser_build.add_argument('source', | 94 | parser_build.add_argument('source', |
95 | help='source file or directory that contain the test result files to be stored') | 95 | help='source file/directory/URL that contain the test result files to be stored') |
96 | parser_build.add_argument('git_dir', | 96 | parser_build.add_argument('git_dir', |
97 | help='the location of the git repository to store the results in') | 97 | help='the location of the git repository to store the results in') |
98 | parser_build.add_argument('-a', '--all', action='store_true', | 98 | parser_build.add_argument('-a', '--all', action='store_true', |