From 0e5d6da9704a27238c03ca4f418bb3cb52153ad0 Mon Sep 17 00:00:00 2001 From: Lukas Garberg Date: Thu, 9 Jan 2025 14:24:59 +0100 Subject: [PATCH] cli: Update for pynipap as a package Despite my intentions to keep the API unchanged, a small change was needed to the CLI client to cater for pynipap as a package. --- nipap-cli/nipap | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nipap-cli/nipap b/nipap-cli/nipap index 12188777e..1d047843e 100755 --- a/nipap-cli/nipap +++ b/nipap-cli/nipap @@ -13,8 +13,7 @@ import socket import nipap_cli import nipap_cli.nipap_cli from nipap_cli.command import Command, CommandError -from pynipap import NipapError -import tracing +from pynipap import NipapError, tracing # early close of stdout to avoid broken pipe, see #464 # If our output is being piped and the receiver of the pipe is killed off before