Replaced pop with get for the dict optional_args, bad idea from the beginning

This commit is contained in:
David Barroso committed 2016-01-22 10:44:16 +01:00
1 parent 26078054e7
commit 2689d7080d
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ class FortiOSDriver(NetworkDriver):
self.password = password
if optional_args is not None:
self.vdom = optional_args.pop('fortios_vdom', None)
self.vdom = optional_args.get('fortios_vdom', None)
else:
self.vdom = None