Skip to content

Commit d7bb67b

Browse files
Initial edit of client script
Signed-off-by: Vladimir Diaz <[email protected]>
1 parent 7de9907 commit d7bb67b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tuf/scripts/basic_client.py renamed to tuf/scripts/client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#!/usr/bin/env python
22

3-
# Copyright 2012 - 2017, New York University and the TUF contributors
3+
# Copyright 2012 - 2018, New York University and the TUF contributors
44
# SPDX-License-Identifier: MIT OR Apache-2.0
55

66
"""
77
<Program Name>
8-
basic_client.py
8+
client.py
99
1010
<Author>
1111
Vladimir Diaz <[email protected]>
1212
1313
<Started>
14-
September 2012
14+
September 2012.
1515
1616
<Copyright>
1717
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
@@ -41,8 +41,8 @@
4141
Framework without the need to modify the original application.
4242
4343
<Usage>
44-
$ python basic_client.py --repo http://localhost:8001
45-
$ python basic_client.py --repo http://localhost:8001 --verbose 3
44+
$ python client.py --repo http://localhost:8001
45+
$ python client.py --repo http://localhost:8001 --verbose 3
4646
4747
<Options>
4848
--verbose:
@@ -73,7 +73,7 @@
7373
import securesystemslib
7474

7575
# See 'log.py' to learn how logging is handled in TUF.
76-
logger = logging.getLogger('tuf.basic_client')
76+
logger = logging.getLogger('tuf.scripts.client')
7777

7878

7979
def update_client(repository_mirror):
@@ -156,10 +156,10 @@ def parse_options():
156156
<Purpose>
157157
Parse the command-line options and set the logging level
158158
as specified by the user through the --verbose option.
159-
'basic_client' expects the '--repo' to be set by the user.
159+
'client' expects the '--repo' to be set by the user.
160160
161161
Example:
162-
$ python basic_client.py --repo http://localhost:8001
162+
$ python client.py --repo http://localhost:8001
163163
164164
If the required option is unset, a parser error is printed
165165
and the scripts exits.

0 commit comments

Comments
 (0)