Skip to content
Snippets Groups Projects
Commit 55a1a5f4 authored by Seblu's avatar Seblu
Browse files

change display of cat command

parent fe43bef9
No related branches found
No related tags found
No related merge requests found
...@@ -457,9 +457,9 @@ class PackageImage(Image): ...@@ -457,9 +457,9 @@ class PackageImage(Image):
pay_obj.check() pay_obj.check()
arrowlevel(-1) arrowlevel(-1)
def cat(self, file): def cat(self, filename):
fd = self._tarball.extractfile(file) fd = self._tarball.extractfile(filename)
arrow("%s v%s : %s" % (self.name, self.version, file)) arrow(filename)
out(fd.read()) out(fd.read())
def run_parser(self, **kwargs): def run_parser(self, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment