[releng] find_unblocked_orphans: Rename age column

Till Maas till at fedoraproject.org
Sat Oct 18 10:50:16 UTC 2014


commit 2489d4fcb0ba556066b5de6afd57d554e10f75fc
Author: Till Maas <opensource at till.name>
Date:   Sat Oct 18 12:41:42 2014 +0200

    find_unblocked_orphans: Rename age column

 scripts/find_unblocked_orphans.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/scripts/find_unblocked_orphans.py b/scripts/find_unblocked_orphans.py
index e2889e4..7a41d0c 100755
--- a/scripts/find_unblocked_orphans.py
+++ b/scripts/find_unblocked_orphans.py
@@ -528,7 +528,7 @@ def maintainer_table(packages, pkgdb_dict):
 
     if with_table:
         table = texttable.Texttable(max_width=80)
-        table.header(["Package", "(co)maintainers", "age"])
+        table.header(["Package", "(co)maintainers", "Status Change"])
         table.set_cols_align(["l", "l", "l"])
         table.set_deco(table.HEADER)
     else:
@@ -542,8 +542,8 @@ def maintainer_table(packages, pkgdb_dict):
         p = ', '.join(people)
         status_change = pkginfo.status_change
         age = pkginfo.age
-        agestr = "{} ({} weeks)".format(status_change.strftime("%Y-%m-%d"),
-                                        age.days / 7)
+        agestr = "{} ({} weeks ago)".format(status_change.strftime("%Y-%m-%d"),
+                                            age.days / 7)
 
         if with_table:
             table.add_row([package_name, p, agestr])


More information about the rel-eng mailing list