Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yanchengnv committed Sep 13, 2023
1 parent b7d9256 commit e5b7d89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nvflare/fuel/hci/chunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __str__(self):
@classmethod
def from_bytes(cls, buffer: bytes):
if len(buffer) < HEADER_LEN:
raise ValueError(f"Prefix too short")
raise ValueError("Prefix too short")

marker, num1, num2 = HEADER_STRUCT.unpack_from(buffer, 0)
return Header(marker, num1, num2)
Expand Down
1 change: 0 additions & 1 deletion nvflare/fuel/hci/client/file_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from nvflare.lighter.utils import load_private_key_file, sign_folders
from nvflare.security.logging import secure_format_exception, secure_log_traceback

from ..proto import MetaKey
from .api_spec import CommandContext, ReplyProcessor
from .api_status import APIStatus

Expand Down
2 changes: 1 addition & 1 deletion nvflare/private/fed/server/job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from nvflare.apis.job_scheduler_spec import DispatchInfo
from nvflare.apis.workspace import Workspace
from nvflare.fuel.utils.argument_utils import parse_vars
from nvflare.fuel.utils.zip_utils import zip_directory_to_bytes, zip_directory_to_file
from nvflare.fuel.utils.zip_utils import zip_directory_to_file
from nvflare.lighter.utils import verify_folder_signature
from nvflare.private.admin_defs import Message, MsgHeader, ReturnCode
from nvflare.private.defs import RequestHeader, TrainingTopic
Expand Down

0 comments on commit e5b7d89

Please sign in to comment.