From 377c3dc2d8e9022f675bb5f113bf2bc36ba348bc Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Fri, 1 Jan 2010 12:49:30 +0000 Subject: [PATCH] Adjust filename passed to get_poolfile_like_name get_poolfile_like_name is pickier when parsing file names, so adhere to the new schema to avoid wrong matches. Signed-off-by: Luca Falavigna --- daklib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/queue.py b/daklib/queue.py index 907e98c3..58a87834 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1225,7 +1225,7 @@ class Upload(object): found = False # Look in the pool - for poolfile in get_poolfile_like_name('/%s' % filename, session_): + for poolfile in get_poolfile_like_name('%s' % filename, session_): poolfile_path = os.path.join( poolfile.location.path, poolfile.filename ) -- 2.39.5