diff options
author | Dan McGee <dan@archlinux.org> | 2010-12-29 12:05:34 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-29 12:05:34 -0600 |
commit | 27e1f8a28932ecb803ee9be9c15fa5a9b0cb1779 (patch) | |
tree | 8ff2724b39f42c409d2b09f8fe2268d9c62487b4 | |
parent | 97e8489ecbfc85c3759afdbe59605f3c0ffb4ce5 (diff) |
Commit during reporead on a per-arch basis
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | devel/management/commands/reporead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index d8287ee0..b8b075a6 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -232,6 +232,7 @@ def populate_files(dbpkg, repopkg, force=False): dbpkg.files_last_update = datetime.now() dbpkg.save() +@transaction.commit_on_success def db_update(archname, reponame, pkgs, options): """ Parses a list and updates the Arch dev database accordingly. @@ -398,7 +399,6 @@ def validate_arch(arch): available_arches = [x.name for x in Arch.objects.all()] return arch in available_arches -@transaction.commit_on_success def read_repo(primary_arch, repo_file, options): """ Parses repo.db.tar.gz file and returns exit status. |