[gtk-doc] rebase: add missing args



commit d50b84a03c757fcabda48ae898dcbae0e3400993
Author: Stefan Sauer <ensonic users sf net>
Date:   Sun Apr 16 15:39:18 2017 +0200

    rebase: add missing args

 gtkdoc/rebase.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc/rebase.py b/gtkdoc/rebase.py
index 0ab0977..789aa08 100755
--- a/gtkdoc/rebase.py
+++ b/gtkdoc/rebase.py
@@ -124,7 +124,7 @@ gunzip %d/%s
         # we could consider supporting: gzip module
 
     if have_index:
-        AddMap(dir, onlinedir)
+        AddMap(dir, onlinedir, options)
 
     # Now recursively scan the subdirectories.
     for subdir in subdirs:
@@ -138,7 +138,7 @@ def ReadDevhelp(dir, file):
         # online must come before chapter/functions
         if '<chapters' in line or '<functions' in line:
             break
-        match = re.search(r'  online="([^"]*)"/')
+        match = re.search(r'  online="([^"]*)"/', line)
         if match:
             # Remove trailing non-directory component.
             onlinedir = re.sub(r'(.*/).*', r'\1', match.groups(1))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]