From d48a0da5657d73a8cd4d1d0b29a12914d3bf63d7 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Wed, 21 Sep 2016 15:21:09 +0200 Subject: [PATCH] bug fix in jobs: when publish without input file --- commands/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/package.py b/commands/package.py index dc39e77..a3b6083 100644 --- a/commands/package.py +++ b/commands/package.py @@ -290,7 +290,7 @@ def source_package(sat, config, logger, options, tmp_working_dir): d_archives, l_pinfo_vcs = get_archives(config, logger) logger.write("Done\n") d_archives_vcs = {} - if not options.with_vcs: + if not options.with_vcs and len(l_pinfo_vcs) > 0: # Make archives with the products that are not prepared using an archive # (git, cvs, svn, etc) logger.write("Construct archives for vcs products ... ") -- 2.39.2