-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix python less that 3.6 implementation
- Loading branch information
fernando
committed
Jul 5, 2024
1 parent
eb7df5e
commit ff3aa26
Showing
1 changed file
with
1 addition
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# (c) 2024, Fernando Mendieta ([email protected]) | ||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | ||
|
||
from __future__ import absolute_import | ||
from __future__ import division | ||
from __future__ import print_function | ||
|
@@ -51,7 +48,7 @@ def unlink_nessus_agent(module): | |
if "No host information found" in output: | ||
return True, "No Agent is running on the server, no need to unlink" | ||
else: | ||
module.fail_json(msg=f"Failed to unlink Nessus Agent: {output}") | ||
module.fail_json(msg="Failed to unlink Nessus Agent: {}".format(output)) | ||
|
||
|
||
def main(): | ||
|