Skip to content

Commit

Permalink
Remove unused properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dashea committed Oct 8, 2015
1 parent 7c677c7 commit fa996a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyanaconda/ui/gui/spokes/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def _validateGroups(self, inputcheck):
def __init__(self, user, data):
GUIObject.__init__(self, data)

self._saveButton = self.builder.get_object("save_button")
GUIDialogInputCheckHandler.__init__(self, self._saveButton)
_saveButton = self.builder.get_object("save_button")
GUIDialogInputCheckHandler.__init__(self, _saveButton)

This comment has been minimized.

Copy link
@vpodzime

vpodzime Oct 12, 2015

I think one more character should be removed here. There's no reason for the name to start with an underscore.

This comment has been minimized.

Copy link
@dashea

dashea Oct 12, 2015

Author Owner

Will do.


self._user = user

Expand Down Expand Up @@ -244,7 +244,6 @@ def should_run(cls, environment, data):
def __init__(self, *args):
NormalSpoke.__init__(self, *args)
GUISpokeInputCheckHandler.__init__(self)
self._oldweak = None

def initialize(self):
NormalSpoke.initialize(self)
Expand Down

0 comments on commit fa996a6

Please sign in to comment.