Skip to content

Commit 019b336

Browse files
committed
Merge pull request lago-project#243 from lago-project/more_reposync_fixes
Yet another small fix to better detect reposync issues
2 parents df7eeca + 89e8e0a commit 019b336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ovirtlago/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _fix_reposync_issues(reposync_out, repo_path):
6666
'sometimes reposync fails to update some packages that have older '
6767
'versions already downloaded, will remove those if any and retry'
6868
)
69-
package_regex = re.compile(r'(?P<package_name>[^:\r]+): \[Errno 256\]')
69+
package_regex = re.compile(r'(?P<package_name>[^:\r\s]+): \[Errno 256\]')
7070
for match in package_regex.findall(reposync_out):
7171
find_command = ['find', repo_path, '-name', match + '*', ]
7272
ret, out, _ = utils.run_command(find_command)

0 commit comments

Comments
 (0)