Message ID | 20130613145520.2880.3666.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_scheduler_daemon/dbjobsource.py' --- lava_scheduler_daemon/dbjobsource.py 2013-01-24 00:19:27 +0000 +++ lava_scheduler_daemon/dbjobsource.py 2013-06-13 14:53:25 +0000 @@ -92,9 +92,8 @@ return self.deferToThread(wrapper, *args, **kw) def getBoardList_impl(self): - cfgdir = os.path.join(os.environ['VIRTUAL_ENV'], 'etc/lava-dispatcher') configured_boards = [ - x.hostname for x in dispatcher_config.get_devices(cfgdir)] + x.hostname for x in dispatcher_config.get_devices()] boards = [] for d in Device.objects.all(): if d.hostname in configured_boards: