Blame SOURCES/0001-Fix-a-missed-variable-rename-in-ScanDirectory-caused.patch

26b9dc
From 203785526af7308a799401c0b037db409269119c Mon Sep 17 00:00:00 2001
26b9dc
From: Adam Williamson <awilliam@redhat.com>
26b9dc
Date: Thu, 10 May 2018 11:00:17 -0700
26b9dc
Subject: [PATCH 1/2] Fix a missed variable rename in ScanDirectory (caused a
26b9dc
 crash)
26b9dc
26b9dc
halfline ran into gtk-doc crashing when he was trying to cut an
26b9dc
accountsservice release; looking into it we found that the first
26b9dc
arg to ScanDirectory was renamed from `dir` to `scan_dir` in
26b9dc
9292e0a (to avoid overriding a builtin, I guess) but this one
26b9dc
reference to it was not changed. This should fix it.
26b9dc
26b9dc
Signed-off-by: Adam Williamson <awilliam@redhat.com>
26b9dc
---
26b9dc
 gtkdoc/rebase.py | 2 +-
26b9dc
 1 file changed, 1 insertion(+), 1 deletion(-)
26b9dc
26b9dc
diff --git a/gtkdoc/rebase.py b/gtkdoc/rebase.py
26b9dc
index 424c3e6..2a1d495 100755
26b9dc
--- a/gtkdoc/rebase.py
26b9dc
+++ b/gtkdoc/rebase.py
26b9dc
@@ -108,7 +108,7 @@ def ScanDirectory(scan_dir, options):
26b9dc
 
26b9dc
         if onlinedir and entry == "index.sgml":
26b9dc
             log(options, "Reading index from index.sgml")
26b9dc
-            onlinedir = ReadIndex(dir, entry)
26b9dc
+            onlinedir = ReadIndex(scan_dir, entry)
26b9dc
             have_index = True
26b9dc
         elif entry == "index.sgml.gz" and not os.path.exists(os.path.join(scan_dir, 'index.sgml')):
26b9dc
             # debian/ubuntu started to compress this as index.sgml.gz :/
26b9dc
-- 
26b9dc
2.17.0
26b9dc