Skip to content

Commit

Permalink
Have print flush=True for check output
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlees committed May 19, 2021
1 parent e6a199b commit 9213603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json2netns/netns.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _prefix_add(

def check(self) -> None:
for header, cmd in self.check_commands.items():
print(header)
print(header, flush=True)
self.exec_in_ns(cmd, check=False)

def create(self, delete: bool = False) -> None:
Expand Down

0 comments on commit 9213603

Please sign in to comment.