@@ -650,14 +650,13 @@ def _add_server_keystore_file_to_archive(self, server_name, archive_file, file_p
650
650
_logger .finer ('WLSDPLY-06623' , file_path , server_name , class_name = _class_name , method_name = _method_name )
651
651
new_name = None
652
652
653
- full_file_path = self ._convert_to_path (file_path )
654
653
try :
655
- new_name = archive_file .addServerKeyStoreFile (server_name , File (full_file_path ))
654
+ new_name = archive_file .addServerKeyStoreFile (server_name , File (file_path ))
656
655
except IllegalArgumentException , iae :
657
- _logger .warning ('WLSDPLY-06624' , server_name , full_file_path , iae .getLocalizedMessage (),
656
+ _logger .warning ('WLSDPLY-06624' , server_name , file_path , iae .getLocalizedMessage (),
658
657
class_name = _class_name , method_name = _method_name )
659
658
except WLSDeployArchiveIOException , wioe :
660
- de = exception_helper .create_discover_exception ('WLSDPLY-06625' , server_name , full_file_path ,
659
+ de = exception_helper .create_discover_exception ('WLSDPLY-06625' , server_name , file_path ,
661
660
wioe .getLocalizedMessage ())
662
661
_logger .throwing (class_name = _class_name , method_name = _method_name , error = de )
663
662
raise de
@@ -672,17 +671,16 @@ def _add_node_manager_keystore_file_to_archive(self, archive_file, file_path):
672
671
"""
673
672
_method_name = '_add_node_manager_keystore_file_to_archive'
674
673
_logger .entering (archive_file , file_path , class_name = _class_name , method_name = _method_name )
675
- full_file_path = self ._convert_to_path (file_path )
676
- _logger .finer ('WLSDPLY-06636' , full_file_path , class_name = _class_name , method_name = _method_name )
677
-
674
+ _logger .finer ('WLSDPLY-06636' , file_path , class_name = _class_name , method_name = _method_name )
678
675
new_name = None
676
+
679
677
try :
680
- new_name = archive_file .addNodeManagerKeyStoreFile (File (full_file_path ))
678
+ new_name = archive_file .addNodeManagerKeyStoreFile (File (file_path ))
681
679
except IllegalArgumentException , iae :
682
- _logger .warning ('WLSDPLY-06637' , full_file_path , iae .getLocalizedMessage (), class_name = _class_name ,
680
+ _logger .warning ('WLSDPLY-06637' , file_path , iae .getLocalizedMessage (), class_name = _class_name ,
683
681
method_name = _method_name )
684
682
except WLSDeployArchiveIOException , wioe :
685
- de = exception_helper .create_discover_exception ('WLSDPLY-06638' , full_file_path , wioe .getLocalizedMessage ())
683
+ de = exception_helper .create_discover_exception ('WLSDPLY-06638' , file_path , wioe .getLocalizedMessage ())
686
684
_logger .throwing (class_name = _class_name , method_name = _method_name , error = de )
687
685
raise de
688
686
return new_name
0 commit comments