archive=False will generate an archive anyway. Closes #2120342 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 12 Dec 2011 16:34:24 +0100
branchstable
changeset 801 af088cb19f61
parent 800 5902db684c1b
child 802 e08097e621ee
archive=False will generate an archive anyway. Closes #2120342
entities.py
--- a/entities.py	Mon Dec 12 15:22:28 2011 +0100
+++ b/entities.py	Mon Dec 12 16:34:24 2011 +0100
@@ -299,7 +299,7 @@
             #                 if not dup_arch:
             #                     duplicate.set_attributes(archive=False)
         else:
-            options = u'archive=%s' % archive
+            options = u'archive=%s' % archive if archive else u''
             texec = self._cw.create_entity(
                 'TestExecution', priority=priority, arguments=arguments,
                 options=options, execution_of=self.recipe,