Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenPCDet
Commits
4bdd8dda
"vscode:/vscode.git/clone" did not exist on "7d5d6f8c086ac2fc3094cb05d240e8dc71ad4f7d"
Commit
4bdd8dda
authored
Nov 04, 2021
by
acivgin1
Browse files
bug fix in version check
parent
59ed7304
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pcdet/__init__.py
pcdet/__init__.py
+2
-2
No files found.
pcdet/__init__.py
View file @
4bdd8dda
import
subprocess
import
subprocess
from
pathlib
import
Path
from
pathlib
import
Path
from
packaging
import
version
from
packaging
import
version
as
p_version
from
.version
import
__version__
from
.version
import
__version__
...
@@ -27,4 +27,4 @@ if script_version not in __version__:
...
@@ -27,4 +27,4 @@ if script_version not in __version__:
def
v1_is_lower_than_v2
(
version1
:
str
,
version2
:
str
):
def
v1_is_lower_than_v2
(
version1
:
str
,
version2
:
str
):
return
version
.
parse
(
version1
)
<
version
.
parse
(
version2
)
return
p_
version
.
parse
(
version1
)
<
p_
version
.
parse
(
version2
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment