[gi-docgen/ebassi/issue-78: 1/2] index: Fix copy-paste thinko




commit 39dee9f03c5aef6100afb78e85edcc3438311069
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu May 6 20:37:41 2021 +0100

    index: Fix copy-paste thinko

 gidocgen/gdindex.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gidocgen/gdindex.py b/gidocgen/gdindex.py
index a2bcf5e..5212fca 100644
--- a/gidocgen/gdindex.py
+++ b/gidocgen/gdindex.py
@@ -480,7 +480,7 @@ def gen_tree(repository):
     title = str(log.color('Unions', 36))
     log.log(f'    ├── {title}')
 
-    if len(records) == 0:
+    if len(unions) == 0:
         log.log('    │   └── None')
     else:
         for i, union in enumerate(unions):


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