Show More
@@ -687,6 +687,9 b' def check_git_version():' | |||
|
687 | 687 |
|
|
688 | 688 | stdout, stderr = p.communicate() |
|
689 | 689 | ver = (stdout.split(' ')[-1] or '').strip() or '0.0.0' |
|
690 | if len(ver.split('.')) > 3: | |
|
691 | #StrictVersion needs to be only 3 element type | |
|
692 | ver = '.'.join(ver.split('.')[:3]) | |
|
690 | 693 | try: |
|
691 | 694 | _ver = StrictVersion(ver) |
|
692 | 695 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now