(s)
| 1232 | |
| 1233 | @staticmethod |
| 1234 | def check_int(s): |
| 1235 | # check if string is an integer |
| 1236 | num_str = str(s) |
| 1237 | |
| 1238 | if num_str[0] in ('-', '+'): |
| 1239 | return num_str[1:].isdigit() |
| 1240 | return num_str.isdigit() |
| 1241 | |
| 1242 | |
| 1243 | class PassphrasePrompt(AutoSuggest, Completer, Lexer, Validator): |
no outgoing calls
no test coverage detected