Skip to content

Commit 3b8a8f7

Browse files
committed
fixup! message.py init no longer does database IO
1 parent 8a317c9 commit 3b8a8f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

message.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,7 @@ def impl(self, authentication=(), resolution=(), distribution=(), destination=()
531531
destination_impl = self._destination.Implementation(self._destination, *destination)
532532
payload_impl = self._payload.Implementation(self._payload, *payload)
533533
impl = self.Implementation(self, authentication_impl, resolution_impl, distribution_impl, destination_impl, payload_impl, *args, **kargs)
534-
packet = ""
535-
if "packet" in kargs:
536-
packet = kargs["packet"]
534+
packet = kargs.get("packet", "")
537535

538536
if not packet:
539537
sign = kargs["sign"] if "sign" in kargs else True

0 commit comments

Comments
 (0)