[projects/git-slug: 6/9] Initialize updated_repos to empty list.

glen glen at pld-linux.org
Mon Sep 21 21:41:12 CEST 2015


commit 3aa5fead45cce8c63eef64b98ce5dd215cd7dc24
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 28 12:15:20 2014 +0100

    Initialize updated_repos to empty list.

 slug.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/slug.py b/slug.py
index 914e894..b576df8 100755
--- a/slug.py
+++ b/slug.py
@@ -138,6 +138,7 @@ def fetch_packages(options, return_all=False):
             ref2fetch.append('refs/notes/*:refs/notes/*')
             args.append((gitrepo, ref2fetch, options))
 
+    updated_repos = []
     pool = WorkerPool(options.jobs, pool_worker_init)
     try:
         updated_repos = pool.starmap(fetch_package, args)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/d9fdf7d60e5aea39f9ac7065a09a645261fc712b



More information about the pld-cvs-commit mailing list