mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-26 06:50:41 +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:
|
if fname == self.fname:
|
||||||
try:
|
try:
|
||||||
REPO_ROOT = Path('repo')
|
update_path = Path('updates')
|
||||||
update_path = REPO_ROOT / 'updates'
|
|
||||||
pkg_found = False
|
pkg_found = False
|
||||||
sig_found = False
|
sig_found = False
|
||||||
for fpath in update_path.iterdir():
|
for fpath in update_path.iterdir():
|
||||||
if fpath.is_dir:
|
if fpath.is_dir():
|
||||||
continue
|
continue
|
||||||
if fpath.name == self.fname:
|
if fpath.name == self.fname:
|
||||||
pkg_found = fpath
|
pkg_found = fpath
|
||||||
|
|
Loading…
Reference in a new issue