def processAccepted(self, distribution):
     """Run the process-accepted script."""
     self.logger.debug(
         "Processing the accepted queue into the publishing records...")
     script = ProcessAccepted(test_args=[distribution.name],
                              logger=self.logger)
     script.txn = self.txn
     script.main()
 def processAccepted(self, distribution):
     """Run the process-accepted script."""
     self.logger.debug(
         "Processing the accepted queue into the publishing records...")
     script = ProcessAccepted(
         test_args=[distribution.name], logger=self.logger)
     script.txn = self.txn
     script.main()
 def getScript(self, test_args=None):
     """Return a ProcessAccepted instance."""
     if test_args is None:
         test_args = []
     test_args.append(self.distro.name)
     script = ProcessAccepted("process accepted", test_args=test_args)
     script.logger = BufferLogger()
     script.txn = self.layer.txn
     return script
 def getScript(self, test_args=None):
     """Return a ProcessAccepted instance."""
     if test_args is None:
         test_args = []
     test_args.append(self.distro.name)
     script = ProcessAccepted("process accepted", test_args=test_args)
     script.logger = BufferLogger()
     script.txn = self.layer.txn
     return script