diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index 6e61f7c1..481d0857 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -82,9 +82,9 @@ class Command(object): help=_("detailed output")) p.add_option("-d", "--debug", action="store_true", default=False, help=_("show debugging information")) - p.add_option("-n", "--dry-run", action="store_true", default=False, - help = _("do not perform any action, just show what\ - would be done")) +# p.add_option("-n", "--dry-run", action="store_true", default=False, +# help = _("do not perform any action, just show what\ +# would be done")) p.add_option("-N", "--no-color", action="store_true", default=False, help = _("print like a man")) return p diff --git a/pisi/specfile.py b/pisi/specfile.py index 0c083dce..3836bba0 100644 --- a/pisi/specfile.py +++ b/pisi/specfile.py @@ -369,7 +369,7 @@ class PackageInfo: self.name, self.version, self.release, self.build) s += _('\nSummary: ') + self.summary s += _('\nDescription: ') + self.description - s += _('\nComponent: ') + self.partof + s += _('\nComponent: ') + str(self.partof) s += _('\nProvides: ') for x in self.providesComar: s += x.om