If a package had a '-' character in them, you weren't able to get a
current emerge time for it. This now fixes that using the list_all_packages()
function.
"""Print the current packages that are being merged with the
current emerge time."""
+ all_packages = list_all_packages()
+
print("Currently emerging: ")
for p in packages:
print
- name = (p[0].partition('-')[0] + '-' +
- p[0].partition('-')[2].partition('-')[0])
+ for i in all_packages:
+ if i in p[0]:
+ main_loop(f, i, True)
- main_loop(f, name, True)