]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
bug fix in jobs: when publish without input file
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Wed, 21 Sep 2016 13:21:09 +0000 (15:21 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Wed, 21 Sep 2016 13:21:09 +0000 (15:21 +0200)
commands/package.py

index dc39e77de8162c761aafc1477f8c1077663ba770..a3b60830ffeeca2d5e42b1d601c6ec4e2743e00e 100644 (file)
@@ -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 ... ")