Add repr() implementation for Dependency()

Easier to debug
pull/915/head
Nirbheek Chauhan 8 years ago
parent b50f3e6976
commit f79c4396f8
  1. 4
      mesonbuild/dependencies.py

@ -37,6 +37,10 @@ class Dependency():
self.is_found = False
self.type_name = type_name
def __repr__(self):
s = '<{0} {1}: {2}>'
return s.format(self.__class__.__name__, self.name, self.is_found)
def get_compile_args(self):
return []

Loading…
Cancel
Save