Skip to content

Commit

Permalink
[backend] also provide default version and release for generated modu…
Browse files Browse the repository at this point in the history
…les.json
  • Loading branch information
clime committed Sep 19, 2016
1 parent d1043e8 commit f9c01b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/backend/actions.py
Expand Up @@ -395,8 +395,8 @@ def handle_build_module(self, result):
modules.append({
"url": module_relpath,
"name": mmd.name,
"release": mmd.release,
"version": mmd.version,
"release": (mmd.release or '1'),
"version": (mmd.version or '1'),
"requires": mmd.requires,
"summary": mmd.summary,
})
Expand Down

0 comments on commit f9c01b2

Please sign in to comment.