summaryrefslogtreecommitdiff
path: root/lib/thandy/repository.py
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-08-11 11:34:33 +0200
committerSebastian Hahn <sebastian@torproject.org>2009-08-25 19:50:44 +0200
commitebbcff7f7a99eec8075d67cba18e349562507513 (patch)
treef356ecbe6dd89bde35b66d2d1d33309d6c7903e1 /lib/thandy/repository.py
parent8746f89a3a459b8b502a7d40653788d6a7e52a5c (diff)
Allow tracking all bundles in the repository with thandy-client
thandy-client now allows passing ** instead of a path for bundles. This is treated as a special case, other wild card or regular expression matching is not included.
Diffstat (limited to 'lib/thandy/repository.py')
-rw-r--r--lib/thandy/repository.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/thandy/repository.py b/lib/thandy/repository.py
index 6d1ece3..af20904 100644
--- a/lib/thandy/repository.py
+++ b/lib/thandy/repository.py
@@ -394,6 +394,9 @@ class LocalRepository:
# Okay; that's it for the metadata. Do we have the right
# bundles?
bundles = {}
+ if len(trackingBundles) == 1 and trackingBundles[0] == "**":
+ trackingBundles = ts.getBundleInfos()
+
for b in trackingBundles:
try:
binfo = ts.getBundleInfo(b)