modules/dlang: Use the DubDependency.class_dubbin correctly

Which was broken because of DubDependency.class_dubbin typing change.
Passed under radar because Dub tests were deactivated in the same PR.
pull/13517/head
Remi Thebault 2 years ago committed by Sam James
parent 0579c42182
commit 5035726fa8
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
  1. 4
      mesonbuild/modules/dlang.py

@ -28,8 +28,8 @@ class DlangModule(ExtensionModule):
})
def _init_dub(self, state):
if DlangModule.class_dubbin is None:
self.dubbin = DubDependency.class_dubbin
if DlangModule.class_dubbin is None and DubDependency.class_dubbin is not None:
self.dubbin = DubDependency.class_dubbin[0]
DlangModule.class_dubbin = self.dubbin
else:
self.dubbin = DlangModule.class_dubbin

Loading…
Cancel
Save