1 |
commit: 5e5291855b1206e942125bc8fd3bca360c7fdcb5 |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 22 17:09:41 2016 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 22 17:09:41 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=5e529185 |
7 |
|
8 |
fix typo in remove_old_cpv_main() |
9 |
|
10 |
pym/tbc/old_cpv.py | 6 +++--- |
11 |
1 file changed, 3 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/pym/tbc/old_cpv.py b/pym/tbc/old_cpv.py |
14 |
index 027f171..cc80428 100644 |
15 |
--- a/pym/tbc/old_cpv.py |
16 |
+++ b/pym/tbc/old_cpv.py |
17 |
@@ -38,7 +38,7 @@ def remove_old_ebuilds(package_id, config_id, tbc_settings, cp): |
18 |
Session.remove() |
19 |
|
20 |
def remove_old_cpv_main(session, config_id): |
21 |
- today = datetime.datetime.utcnow |
22 |
+ today = datetime.datetime.utcnow() |
23 |
tbc_settings = read_config_settings() |
24 |
# Use all cores when multiprocessing |
25 |
#pool_cores = multiprocessing.cpu_count() |
26 |
@@ -65,5 +65,5 @@ def remove_old_cpv_main(session, config_id): |
27 |
#close and join the multiprocessing pools |
28 |
# pool.close() |
29 |
# pool.join() |
30 |
- if not get_package_list_info(session, CategoryId = CategoryInfo.CategoryId): |
31 |
- add_old_category(session, category_id) |
32 |
+ if not get_package_list_info(session, CategoryInfo.CategoryId): |
33 |
+ add_old_category(session, CategoryInfo.CategoryId) |