[sysadmin-bin] Return a generator



commit cb12c8f444b85a75933aec103c9755e57cb96a44
Author: Andrea Veri <averi redhat com>
Date:   Wed Aug 11 11:40:39 2021 +0200

    Return a generator

 ftpadmin | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ftpadmin b/ftpadmin
index f872afb..5dc419b 100755
--- a/ftpadmin
+++ b/ftpadmin
@@ -936,7 +936,7 @@ class ModuleInfo(DirectoryInfo):
             url = urlparse.urlparse(gl)
 
             if url.netloc == 'gitlab.gnome.org':
-                return gl
+                yield gl
 
     @property
     def versions(self):


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