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()
|
revision = pkg.get('version.revision', '').strip()
|
||||||
if revision:
|
if revision:
|
||||||
revision = int(revision)
|
revision = int(revision)
|
||||||
|
else:
|
||||||
|
revision = 0
|
||||||
|
|
||||||
kwargs = {
|
kwargs = {
|
||||||
'name': pkg['name'],
|
'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()
|
revision = pkg.get('version.revision', '').strip()
|
||||||
if revision:
|
if revision:
|
||||||
revision = int(revision)
|
revision = int(revision)
|
||||||
|
else:
|
||||||
|
revision = 0
|
||||||
|
|
||||||
kwargs = {
|
kwargs = {
|
||||||
'name': pkg['name'],
|
'name': pkg['name'],
|
||||||
|
Loading…
Reference in New Issue
Block a user