mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
setup: windows: make sub-ver.py treat None as 0
This commit is contained in:
parent
c375b1503a
commit
ece902a4cf
@ -13,11 +13,11 @@ else:
|
||||
raise ValueError('must provide 0 or 1 argument (stdin, or filename)')
|
||||
|
||||
vern = {
|
||||
'major': v.major,
|
||||
'minor': v.minor,
|
||||
'point': v.micro,
|
||||
'micro': v.micro,
|
||||
'revision' : v.revision,
|
||||
'major': v.major or 0,
|
||||
'minor': v.minor or 0,
|
||||
'point': v.micro or 0,
|
||||
'micro': v.micro or 0,
|
||||
'revision' : v.revision or 0,
|
||||
'build': str(v),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user