diff options
-rw-r--r-- | devel/management/commands/reporead.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index 082813d7..cd964ddb 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -219,6 +219,7 @@ def populate_pkg(dbpkg, repopkg, force=False, timestamp=None): dbpkg.packagedepend_set.create(depname=dpname, depvcmp=dpvcmp) logger.debug('Added %s as dep for pkg %s' % (dpname,repopkg.name)) + dbpkg.packagegroup_set.all().delete() if 'groups' in repopkg.__dict__: for y in repopkg.groups: dbpkg.packagegroup_set.create(name=y) |