##// END OF EJS Templates
fixed check git version function, git sometimes uses 4 element version numbering which breaks the system that function
marcink -
r2911:b14850a7 beta
parent child Browse files
Show More
@@ -687,6 +687,9 b' def check_git_version():'
687 687 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
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