From d77f1929b361606ac294e97394fcc1befa9fc541 Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 10 Apr 2019 21:43:10 +0800 Subject: [PATCH] bad loop --- repo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/repo.py b/repo.py index 76155e1..3980417 100755 --- a/repo.py +++ b/repo.py @@ -268,6 +268,7 @@ def _update(overwrite=False): logger.warning('Same version is already in the repo.') throw_away(pkg_to_add) should_continue = True + break if should_continue: continue copyfile(pkg_to_add, pkg_nlocation)