File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -640,10 +640,10 @@ def is_port_free(self, number: int) -> bool:
640
640
assert type (error ) == str # noqa: E721
641
641
642
642
if exit_status == 0 :
643
- return __class__ .helper__is_port_free__process_0 (error )
643
+ return __class__ ._is_port_free__process_0 (error )
644
644
645
645
if exit_status == 1 :
646
- return __class__ .helper__is_port_free__process_1 (error )
646
+ return __class__ ._is_port_free__process_1 (error )
647
647
648
648
errMsg = "nc returns an unknown result code: {0}" .format (exit_status )
649
649
@@ -656,13 +656,13 @@ def is_port_free(self, number: int) -> bool:
656
656
)
657
657
658
658
@staticmethod
659
- def helper__is_port_free__process_0 (error : str ) -> bool :
659
+ def _is_port_free__process_0 (error : str ) -> bool :
660
660
assert type (error ) == str # noqa: E721
661
661
# TODO: check error message?
662
662
return False
663
663
664
664
@staticmethod
665
- def helper__is_port_free__process_1 (error : str ) -> bool :
665
+ def _is_port_free__process_1 (error : str ) -> bool :
666
666
assert type (error ) == str # noqa: E721
667
667
# TODO: check error message?
668
668
return True
You can’t perform that action at this time.
0 commit comments