Merge pull request #14196 from velconia/fix_version

Fix paddle version
fix_recordio_link
Qiyang Min 7 years ago committed by GitHub
commit 67b86d4bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ def _get_version_detail(idx):
if re.match('@TAG_VERSION_REGEX@', '@PADDLE_VERSION@'):
version_details = '@PADDLE_VERSION@'.split('.')
if len(version_details) == 3:
if len(version_details) >= 3:
return version_details[idx]
return 0

Loading…
Cancel
Save