Skip to content

Commit 323df0f

Browse files
committed
Remove packaging
1 parent 625d3c1 commit 323df0f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

robotstatuschecker.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@
4141
import sys
4242
from os.path import abspath
4343

44-
from packaging.version import Version
4544
from robot import __version__ as rf_version
4645
from robot.api import ExecutionResult, ResultVisitor
4746
from robot.utils import Matcher
4847

4948
__version__ = "3.0.0"
50-
RF_61 = Version(rf_version) >= Version("6.1")
49+
RF_61 = tuple(rf_version.split(".")[:2]) >= ("6", "1")
5150

5251

5352
def process_output(inpath, outpath=None, verbose=True):

0 commit comments

Comments
 (0)