Skip to content

Commit 21ab71c

Browse files
authored
Merge pull request #276 from lukpueh/rm-unused-interface
Remove unused helper and global from interface module
2 parents 94d83b9 + 9924f5c commit 21ab71c

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ omit =
1111
exclude_lines =
1212
pragma: no cover
1313
def get_password
14-
def _prompt
1514
def __str__
1615
if __name__ == .__main__.:

securesystemslib/interface.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,6 @@
6666
# security through 2031 and beyond.
6767
DEFAULT_RSA_KEY_BITS = 3072
6868

69-
# Supported key types.
70-
SUPPORTED_KEY_TYPES = ['rsa', 'ed25519']
71-
72-
73-
74-
def _prompt(message, result_type=str):
75-
"""
76-
Non-public function that prompts the user for input by printing 'message',
77-
converting the input to 'result_type', and returning the value to the
78-
caller.
79-
"""
80-
81-
return result_type(six.moves.input(message))
82-
8369

8470

8571

0 commit comments

Comments
 (0)