aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-10-19 10:54:55 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-11-23 19:54:47 -0800
commit22fed0b424a37a0fa115049d0a6528e1d1e61183 (patch)
tree23b1df0fa9655e326a027e805fde8b32189f8301
parent6aef6d8d07b97a96c45a84841344baafa275f928 (diff)
downloadmeson-22fed0b424a37a0fa115049d0a6528e1d1e61183.zip
meson-22fed0b424a37a0fa115049d0a6528e1d1e61183.tar.gz
meson-22fed0b424a37a0fa115049d0a6528e1d1e61183.tar.bz2
Fix wrapping of docstrings in GnuStep dependency.
-rw-r--r--mesonbuild/dependencies/ui.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
index 3412dc6..04a33f5 100644
--- a/mesonbuild/dependencies/ui.py
+++ b/mesonbuild/dependencies/ui.py
@@ -105,14 +105,16 @@ class GnuStepDependency(ExternalDependency):
mlog.green('YES'), self.version)
def weird_filter(self, elems):
- """When building packages, the output of the enclosing Make
-is sometimes mixed among the subprocess output. I have no idea
-why. As a hack filter out everything that is not a flag."""
+ """When building packages, the output of the enclosing Make is
+ sometimes mixed among the subprocess output. I have no idea why. As a
+ hack filter out everything that is not a flag.
+ """
return [e for e in elems if e.startswith('-')]
def filter_args(self, args):
- """gnustep-config returns a bunch of garbage args such
- as -O2 and so on. Drop everything that is not needed."""
+ """gnustep-config returns a bunch of garbage args such as -O2 and so
+ on. Drop everything that is not needed.
+ """
result = []
for f in args:
if f.startswith('-D') \