diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2010-12-31 15:42:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2010-12-31 15:42:55 -0300 |
commit | c9178286885d60741eb0e696c3e345e3b0dfb9e2 (patch) | |
tree | 7738211d84337e897acfd2263be0b33352becae0 /devel/management/commands | |
parent | ebcd492d39cd0525b768a48558e50041aa0961e3 (diff) | |
parent | 84897adcdc698678f2ee8d2292cfe4271c6335e4 (diff) |
Merge git://projects.archlinux.org/archweb
Conflicts:
templates/public/index.html
urls.py
Diffstat (limited to 'devel/management/commands')
-rw-r--r-- | devel/management/commands/reporead.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devel/management/commands/reporead.py b/devel/management/commands/reporead.py index 6f7fd958..b8b075a6 100644 --- a/devel/management/commands/reporead.py +++ b/devel/management/commands/reporead.py @@ -139,7 +139,6 @@ def find_user(userstring): for token in name.split(): # ignore quoted parts; e.g. nicknames in strings if re.match(r'^[\'"].*[\'"]$', token): - print "token match:", token continue name_q &= (Q(first_name__icontains=token) | Q(last_name__icontains=token)) @@ -233,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. @@ -399,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. |