diff --git a/ChangeLog b/ChangeLog index b676eb0c..dbd7007c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,5 @@ -2009-03-08 Ozan Çağlayan - * pisi/cli/history.py(History.print_history): pkg.name should be - printed instead of pkg. Thanks İbrahim for noticing this bug causing - pisi hs output to contain only '*' character for every package in a - snapshot. +2009-03-09 Faik Uygur + * Fix pisi hs output for snapshot printing empty "*" 2009-02-13 Bahadır Kandemir * Merged Python 2.6 patch diff --git a/pisi/cli/history.py b/pisi/cli/history.py index 3e5bcea7..78bebba7 100644 --- a/pisi/cli/history.py +++ b/pisi/cli/history.py @@ -70,12 +70,12 @@ Lists previous operations.""") if operation.type == "snapshot": print _(" * There are %d packages in this snapshot.") % len(operation.packages) - if operation.type == "repoupdate": + elif operation.type == "repoupdate": for repo in operation.repos: print " *", repo else: for pkg in operation.packages: - print " *", pkg.name + print " *", pkg print def redirect_output(self):