mirror of
https://github.com/lilydjwg/archrepo2.git
synced 2025-03-10 12:02:43 +00:00
ignore 'state' argument when removing
This commit is contained in:
parent
71d00a73b5
commit
f56c71ec09
1 changed files with 2 additions and 1 deletions
|
@ -383,7 +383,8 @@ class EventHandler(pyinotify.ProcessEvent):
|
|||
logger.debug('deleting entry for not-in-database package: %s', act.path)
|
||||
self._db.execute('delete from pkginfo where filename = ? and pkgrepo = ?', (act.path, self.name))
|
||||
return
|
||||
def callback():
|
||||
def callback(state=any):
|
||||
'''``state`` is not used'''
|
||||
self._db.execute('delete from pkginfo where filename = ? and pkgrepo = ?', (act.path, self.name))
|
||||
|
||||
act.callback = callback
|
||||
|
|
Loading…
Add table
Reference in a new issue