Skip to content

Commit

Permalink
Fix swapped args to processActions.
Browse files Browse the repository at this point in the history
Arguments got switched in commit bf20873. I also switched to explicit
keyword argument usage from Blivet.doIt.
  • Loading branch information
dwlehman committed Apr 6, 2015
1 parent 436bc70 commit b3c0693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blivet/blivet.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def doIt(self, callbacks=None):
"""

self.devicetree.processActions(callbacks)
self.devicetree.processActions(callbacks=callbacks)
if not flags.installer_mode:
return

Expand Down
2 changes: 1 addition & 1 deletion blivet/devicetree.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def findActions(self, device=None, action_type=None, object_type=None,
path=path,
devid=devid)

def processActions(self, dryRun=False, callbacks=None):
def processActions(self, callbacks=None, dryRun=False):
self.actions.process(devices=self.devices,
dryRun=dryRun,
callbacks=callbacks)
Expand Down

0 comments on commit b3c0693

Please sign in to comment.