Skip to content

Commit

Permalink
cmdr.py: black Python formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepeterson committed Apr 9, 2022
1 parent 6c4be9a commit 6457764
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/cmdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def dev_info(args):
c["Queries"] = args.query
return c


def account_config(args):
c = {
"RequestType": "AccountConfiguration",
Expand All @@ -52,12 +53,11 @@ def account_config(args):
c["LockPrimaryAccountInfo"] = True
return c


def sched_update(args):
c = {
"RequestType": "ScheduleOSUpdate",
"Updates": [
{"InstallAction": args.action}
],
"Updates": [{"InstallAction": args.action}],
}
if hasattr(args, "version") and args.version:
c["Updates"][0]["ProductVersion"] = args.version
Expand Down Expand Up @@ -162,7 +162,7 @@ def account_config_subparser(parser):
p.add_argument(
"-l",
"--lock",
action='store_true',
action="store_true",
help="LockPrimaryAccountInfo",
)
p.set_defaults(func=account_config)
Expand Down

0 comments on commit 6457764

Please sign in to comment.