Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

history() doesn't work #89

Description

@rcerven

import podman

pclient = podman.Client()

img = pclient.images.get('6c0fc7ee13e0')

for his in img.history():
print(his)

fails with :
Traceback (most recent call last):
File "test.py", line 11, in
for his in img.history():
TypeError: 'list' object is not callable

problem is that when Image object is created, it defines attribute history and sets it to '[]'

which overrides history() method

podman version: podman-2.0.6-1.fc32.x86_64
python podman version: 1.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions