1. Tobias McNulty
  2. mallet

Commits

Tobias McNulty  committed c855922

require at least one driver in config file

  • Participants
  • Parent commits 9c7da84
  • Branches default

Comments (0)

Files changed (1)

File scripts/mallet

View file
                     drivers.append(driver)
             else:
                 logging.error('Unknown config section %s' % section)
+        if not drivers:
+            raise ValueError('Please specify at least one driver in your '
+                             'config file.')
         return drivers