From 55a1a5f4106aeed867157e039594cc7224dec90e Mon Sep 17 00:00:00 2001 From: Seblu <sebastien.luttringer@smartjog.com> Date: Mon, 25 Jul 2011 15:34:55 +0200 Subject: [PATCH] change display of cat command --- installsystems/image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installsystems/image.py b/installsystems/image.py index 57a8e10..c40b144 100644 --- a/installsystems/image.py +++ b/installsystems/image.py @@ -457,9 +457,9 @@ class PackageImage(Image): pay_obj.check() arrowlevel(-1) - def cat(self, file): - fd = self._tarball.extractfile(file) - arrow("%s v%s : %s" % (self.name, self.version, file)) + def cat(self, filename): + fd = self._tarball.extractfile(filename) + arrow(filename) out(fd.read()) def run_parser(self, **kwargs): -- GitLab