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

[merged] Atomic/diff.py: Do not hide SelectionMatchError and clean-up#368

Closed
baude wants to merge 1 commit intoprojectatomic:masterfrom
baude:atomic_diff_graceful_error
Closed

[merged] Atomic/diff.py: Do not hide SelectionMatchError and clean-up#368
baude wants to merge 1 commit intoprojectatomic:masterfrom
baude:atomic_diff_graceful_error

Conversation

@baude
Copy link
Member

@baude baude commented May 2, 2016

Previously, the raise of SelectionMatchError was not getting to
stderr so diff would fail silently. We now write the error to
stderr and clean up any mounts and dm devices created.

Atomic/diff.py Outdated

@staticmethod
def create_image_list(images):
def create_image_list(self, images):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't this stay a staticmethod and call helpers._cleanup(image_list)?

@baude baude force-pushed the atomic_diff_graceful_error branch from 312493d to 2840be5 Compare May 2, 2016 18:04
Previously, the raise of SelectionMatchError was not getting to
stderr so diff would fail silently.  We now write the error to
stderr and clean up any mounts and dm devices created.
@baude baude force-pushed the atomic_diff_graceful_error branch from 2840be5 to f573361 Compare May 2, 2016 18:06
@baude
Copy link
Member Author

baude commented May 2, 2016

fixed and passes tests

@rhatdan
Copy link
Member

rhatdan commented May 2, 2016

@cgwalters-bot r+ f573361

@cgwalters-bot
Copy link

⌛ Testing commit f573361 with merge 2674224...

@cgwalters-bot
Copy link

☀️ Test successful - status-atomicjenkins
Approved by: rhatdan
Pushing 2674224 to master...

@cgwalters-bot cgwalters-bot changed the title Atomic/diff.py: Do not hide SelectionMatchError and clean-up [merged] Atomic/diff.py: Do not hide SelectionMatchError and clean-up May 2, 2016
baude added a commit to baude/atomic that referenced this pull request May 3, 2016
Previously, the raise of SelectionMatchError was not getting to
stderr so diff would fail silently.  We now write the error to
stderr and clean up any mounts and dm devices created.

Closes: projectatomic#368
Approved by: rhatdan
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants