1. memedough
  2. nosier


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

call the command with the change_set as an argument

  • Participants
  • Parent commits 1443bd7
  • Branches default

Comments (0)

Files changed (1)

File nosier/nosier.py

View file
  • Ignore whitespace
         for part in command:
-    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()