Skip to content

Commit 384c65f

Browse files
committed
Update Nix, optionalize some output
1 parent f7c224b commit 384c65f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

nixpkgs.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import (fetchTarball {
2-
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/24.05.tar.gz";
3-
sha256 = "1lr1h35prqkd1mkmzriwlpvxcb34kmhc9dnr48gkm8hh089hifmx";
2+
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/25.05.tar.gz";
3+
sha256 = "1915r28xc4znrh2vf4rrjnxldw2imysz819gzhk9qlrkqanmfsxd";
44
})

server/enip/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2236,8 +2236,9 @@ def main( argv=None ):
22362236
remains = timeout - ( elapsed or 0 )
22372237
reply,_ = await_response( connection, timeout=remains )
22382238
if reply:
2239-
print( "%s %2d from %r: %s" % (
2240-
desc, counter, reply.peer, parser.enip_format( reply.get( path, reply ))))
2239+
if printing:
2240+
print( "%s %2d from %r: %s" % (
2241+
desc, counter, reply.peer, parser.enip_format( reply.get( path, reply ))))
22412242
counter += 1
22422243
if not reply or not args.broadcast:
22432244
# No reply or EOF w'in timeout, or reply but not --broadcast; done waiting

0 commit comments

Comments
 (0)