Show More
@@ -687,6 +687,9 b' def check_git_version():' | |||||
687 |
|
|
687 | stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
688 | stdout, stderr = p.communicate() |
|
688 | stdout, stderr = p.communicate() | |
689 | ver = (stdout.split(' ')[-1] or '').strip() or '0.0.0' |
|
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 | try: |
|
693 | try: | |
691 | _ver = StrictVersion(ver) |
|
694 | _ver = StrictVersion(ver) | |
692 | except: |
|
695 | except: |
General Comments 0
You need to be logged in to leave comments.
Login now