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

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