Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

950772 - Don't attempt state transitions away from STATE_CANCELLED. #240

Closed
wants to merge 1 commit into from

Conversation

bowlofeggs
Copy link

This is to fix the third comment in the bug[0], where it failed QE.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=950772#c3

@@ -87,7 +87,7 @@ def build_final_report(self):
summary = self.build_progress_report()
details = None

if self.state == self.STATE_COMPLETE:
if self.state in (self.STATE_COMPLETE, self.STATE_CANCELLED):
Copy link
Author

Choose a reason for hiding this comment

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

Consider STATE_CANCELLED to be a "successful" state.

@ghost ghost assigned jdob Jun 20, 2013
manifest = models.ISOManifest(manifest_destiny, self._repo_url)
except ValueError, e:
self.progress_report.error_message = 'The PULP_MANIFEST file was not in the ' +\
'expected format.'
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is intended to be shown to a user, make sure to run it through gettext.

Copy link
Author

Choose a reason for hiding this comment

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

Fixed.

@jdob
Copy link
Contributor

jdob commented Jun 21, 2013

Two things to take a look at, afterwards merge on.

@bowlofeggs
Copy link
Author

I merged this one into the 2.2.1 branch, and into master.

@bowlofeggs bowlofeggs closed this Jun 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants