summaryrefslogtreecommitdiff
path: root/lib/thandy/repository.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thandy/repository.py')
-rwxr-xr-xlib/thandy/repository.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thandy/repository.py b/lib/thandy/repository.py
index bb7d2f6..20a1e9a 100755
--- a/lib/thandy/repository.py
+++ b/lib/thandy/repository.py
@@ -493,9 +493,9 @@ class LocalRepository:
packages[rp] = pfile
if pfile_data["format"] == "thp":
- thpTransactionDict[bundle['name']] = {}
+ if not bundle['name'] in thpTransactionDict.keys():
+ thpTransactionDict[bundle['name']] = {}
thpTransactionDict[bundle['name']][pfile_data['name']] = pfile_data
- continue
# We have the packages. If we're downloading via bittorrent, we need
# the .torrent metafiles, as well.