diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/grumpy_sync.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/grumpy_sync.py b/utils/grumpy_sync.py index 6a1d826..813b6bc 100755 --- a/utils/grumpy_sync.py +++ b/utils/grumpy_sync.py @@ -168,8 +168,7 @@ def main(path): for pkg in [i for i in old if i not in new]: # Handle package deletion print "DEBUG: package has been removed:", pkg - raise NotImplementedError - package = Package.query.filter_by(cat=cat).filter_by(pkg=pkg).one() + package = Package.query.filter_by(category=c, pkg=pkg).one() db.session.delete(package) db.session.commit() for pkg in new: |