]> git.e2factory.org Git - e2factory.git/commitdiff
files: make sure sourceset is always set
authorTobias Ulmer <tu@emlix.com>
Fri, 24 Feb 2017 15:50:17 +0000 (16:50 +0100)
committerTobias Ulmer <tu@emlix.com>
Mon, 27 Feb 2017 20:05:39 +0000 (21:05 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
plugins/files.lua

index 6edcf10c95612165e97d0ab8c07ab53926baa40e..b41e1022f7acd6e8c27cf58b4d092fd3f079f72a 100644 (file)
@@ -350,7 +350,9 @@ function files.files_source:file_iter()
     end
 end
 
-function files.files_source:sourceid(sourceset --[[always ignored for files]])
+function files.files_source:sourceid(sourceset)
+    assertIsStringN(sourceset)
+
     local hc, licences
 
     if self._sourceid then