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

Code cleanup and some fixes #15

Merged
merged 4 commits into from
Jan 7, 2015
Merged

Conversation

ancorgs
Copy link
Contributor

@ancorgs ancorgs commented Dec 22, 2014

Some cleanup and tests needed in order to be able to work on bnc#907907 with confidence.

Sorry for not separating in commits the zombie killing from the spliting into smaller methods, but the latter is very simple (just moving the code a little bit).

https://bugzilla.suse.com/show_bug.cgi?id=907907

@@ -118,7 +118,12 @@ def initialize_security_dialogs(include_target)

# mapping for "Enable" and "Disable" links
# current value -> new value
@link_value_mapping = { "yes" => "no", "no" => "yes" }
@link_value_mapping = {
Copy link
Member

Choose a reason for hiding this comment

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

looks like constant

@jreidinger
Copy link
Member

I think when you have tests then there is space for bigger refactoring, but in general LGTM

ancorgs added a commit that referenced this pull request Jan 7, 2015
@ancorgs ancorgs merged commit d617de1 into yast:master Jan 7, 2015
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.

2 participants