diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2022-08-22 20:59:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-08-22 20:59:08 +0000 |
commit | 0ec57f0b34058a397aecee00c198e7559ecb7b0c (patch) | |
tree | dfbbca6511883ab5927e626fd910c77c7fe460bb /snmptrap/mod/trapd_exit.py | |
parent | fd09404338108987774ffae7aa90b67370dd290d (diff) | |
parent | 4b6b34642374103b8ccf938eb9e970232bfb63ae (diff) |
Merge "CodeCoverage improvement (60% to 90%)"
Diffstat (limited to 'snmptrap/mod/trapd_exit.py')
-rw-r--r-- | snmptrap/mod/trapd_exit.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/snmptrap/mod/trapd_exit.py b/snmptrap/mod/trapd_exit.py index 1d1ea16..0959399 100644 --- a/snmptrap/mod/trapd_exit.py +++ b/snmptrap/mod/trapd_exit.py @@ -1,5 +1,5 @@ # ============LICENSE_START======================================================= -# Copyright (c) 2017-2021 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2017-2022 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -46,13 +46,8 @@ def cleanup_and_exit(_loc_exit_code, _pid_file_name): none :Keywords: runtime PID exit - :Variables: - _num_params - number of parameters passed to module """ - # _num_params = len(locals()) - if _pid_file_name is not None: rc = rm_pid(_pid_file_name) sys.exit(_loc_exit_code) |