From 743ef32e24557d9896372b55961435c844790052 Mon Sep 17 00:00:00 2001 From: Mark Sullivan Date: Tue, 16 Apr 2024 09:59:28 +1000 Subject: [PATCH 1/2] Revert "Update prefilterrules.py -Fix insert before/after bug" This reverts commit 0595dd119a5ccd572c08014658d7827de404a7b5. --- fmcapi/api_objects/policy_services/prefilterrules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmcapi/api_objects/policy_services/prefilterrules.py b/fmcapi/api_objects/policy_services/prefilterrules.py index fd31f4c..7acc9c5 100644 --- a/fmcapi/api_objects/policy_services/prefilterrules.py +++ b/fmcapi/api_objects/policy_services/prefilterrules.py @@ -102,7 +102,7 @@ def URL_SUFFIX(self): elif "insertAfter" in self.__dict__: url = f"{url}insertAfter={self.insertAfter}" - return url + return url[:-1] def parse_kwargs(self, **kwargs): """ From 8071ae34fe84ecd0c069522c7d59f008c9213b34 Mon Sep 17 00:00:00 2001 From: Mark Sullivan Date: Tue, 16 Apr 2024 10:00:26 +1000 Subject: [PATCH 2/2] Bump version 20240416.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d4850b9..95635cd 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="fmcapi", - version="20240412.0", + version="20240416.0", description="Easier interface to Cisco's FMC API than writing your own way.", long_description="""With the removal to configure a Cisco NGFW via the command line your only option is to do so via a manager. Some things are better when automated so using the manager's API gives us that power.