[library-web] typo fix in cmake detection
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] typo fix in cmake detection
- Date: Fri, 6 Apr 2018 08:03:30 +0000 (UTC)
commit ac35d2d1b88fba584a4942378352d5b62da1547d
Author: Frédéric Péters <fpeters 0d be>
Date: Fri Apr 6 10:03:13 2018 +0200
typo fix in cmake detection
src/modtypes/base.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/modtypes/base.py b/src/modtypes/base.py
index 3ad7517..deee453 100644
--- a/src/modtypes/base.py
+++ b/src/modtypes/base.py
@@ -74,7 +74,7 @@ class DocModule(object):
self.modulename = re.sub('-\d+\.\d+$', '', self.modulename)
elif cmakelists:
self.cmakelists = cmakelists
- match = re.findall(r'add_gtkdoc\(([\w-]+)', s, re.DOTALL)
+ match = re.findall(r'add_gtkdoc\(([\w-]+)', cmakelists, re.DOTALL)
assert match
self.modulename = match[0]
elif meson_build:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]