fix handling of packages without dev revisions
This commit is contained in:
parent
1477189b9a
commit
54761bbd13
@ -369,6 +369,8 @@ def run(config=('package.cfg',), ext=None, script_args=None, manifest_only=0):
|
||||
revision = pkg.get('version.revision', '').strip()
|
||||
if revision:
|
||||
revision = int(revision)
|
||||
else:
|
||||
revision = 0
|
||||
|
||||
kwargs = {
|
||||
'name': pkg['name'],
|
||||
|
@ -374,6 +374,8 @@ def run(config=('package.cfg',), ext=None, script_args=None, manifest_only=0):
|
||||
revision = pkg.get('version.revision', '').strip()
|
||||
if revision:
|
||||
revision = int(revision)
|
||||
else:
|
||||
revision = 0
|
||||
|
||||
kwargs = {
|
||||
'name': pkg['name'],
|
||||
|
Loading…
Reference in New Issue
Block a user