1
我得到:我如何解決「StrictVersion實例沒有屬性‘版本’」在git的審查
Traceback (most recent call last):
File "/usr/local/bin/git-review", line 863, in <module>
main()
File "/usr/local/bin/git-review", line 796, in main
needs_update = latest_is_newer()
File "/usr/local/bin/git-review", line 147, in latest_is_newer
if latest_version > StrictVersion(version):
File "/usr/lib/python2.7/distutils/version.py", line 140, in __cmp__
compare = cmp(self.version, other.version)
AttributeError: StrictVersion instance has no attribute 'version'
如何解決混帳評論?