Commits

bbi...@pariou.wrk.cby.camptocamp.com  committed 439f538

call the command with the change_set as an argument

  • Participants
  • Parent commits 1443bd7

Comments (0)

Files changed (1)

File nosier/nosier.py

         for part in command:
             self.command.extend(part.split())
 
-    def do_command(self):
+    def do_command(self, change_set):
         """Invoke our command."""
 
-        subprocess.call(self.command)
+        subprocess.call(self.command + list(change_set))
 
     def do_run(self, change_set):
         """Perform a command run."""
 
         self.reporter.begin_run(change_set, self.command)
-        self.do_command()
+        self.do_command(change_set)
         ignored_change_set = self.change_monitor.clear() if self.ignore_events else set()
         self.reporter.end_run(ignored_change_set)