[sysadmin-bin] Return a generator
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Return a generator
- Date: Wed, 11 Aug 2021 09:40:47 +0000 (UTC)
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]