File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
3
- # Copyright 2012 - 2017 , New York University and the TUF contributors
3
+ # Copyright 2012 - 2018 , New York University and the TUF contributors
4
4
# SPDX-License-Identifier: MIT OR Apache-2.0
5
5
6
6
"""
7
7
<Program Name>
8
- basic_client .py
8
+ client .py
9
9
10
10
<Author>
11
11
12
12
13
13
<Started>
14
- September 2012
14
+ September 2012.
15
15
16
16
<Copyright>
17
17
See LICENSE-MIT.txt OR LICENSE-APACHE.txt for licensing information.
41
41
Framework without the need to modify the original application.
42
42
43
43
<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
46
46
47
47
<Options>
48
48
--verbose:
73
73
import securesystemslib
74
74
75
75
# 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 ' )
77
77
78
78
79
79
def update_client (repository_mirror ):
@@ -156,10 +156,10 @@ def parse_options():
156
156
<Purpose>
157
157
Parse the command-line options and set the logging level
158
158
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.
160
160
161
161
Example:
162
- $ python basic_client .py --repo http://localhost:8001
162
+ $ python client .py --repo http://localhost:8001
163
163
164
164
If the required option is unset, a parser error is printed
165
165
and the scripts exits.
You can’t perform that action at this time.
0 commit comments