mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-22 19:09:23 +08:00
fix repod bugs
This commit is contained in:
parent
c2dbc25673
commit
a3c15910d4
1 changed files with 2 additions and 3 deletions
5
repod.py
5
repod.py
|
@ -75,12 +75,11 @@ class pushFm:
|
|||
'''
|
||||
if fname == self.fname:
|
||||
try:
|
||||
REPO_ROOT = Path('repo')
|
||||
update_path = REPO_ROOT / 'updates'
|
||||
update_path = Path('updates')
|
||||
pkg_found = False
|
||||
sig_found = False
|
||||
for fpath in update_path.iterdir():
|
||||
if fpath.is_dir:
|
||||
if fpath.is_dir():
|
||||
continue
|
||||
if fpath.name == self.fname:
|
||||
pkg_found = fpath
|
||||
|
|
Loading…
Reference in a new issue