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