Skip to content

Commit a598b97

Browse files
committed
linting
1 parent 965aff6 commit a598b97

File tree

1 file changed

+3
-3
lines changed
  • src/azure-cli/azure/cli/command_modules/appservice

1 file changed

+3
-3
lines changed

src/azure-cli/azure/cli/command_modules/appservice/custom.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,16 +516,16 @@ def update_app_settings(cmd, resource_group_name, name, settings=None, slot=None
516516
for s in src:
517517
# Check if this looks like a simple key=value pair without JSON/dict syntax
518518
# If so, parse it directly to avoid unnecessary warnings from ast.literal_eval
519-
if ('=' in s and not s.lstrip().startswith(('{"', "[", "{")) and
520-
not s.startswith('@')): # @ indicates file input
519+
if ('=' in s and not s.lstrip().startswith(('{"', "[", "{")) and
520+
not s.startswith('@')): # @ indicates file input
521521
try:
522522
setting_name, value = s.split('=', 1)
523523
dest[setting_name] = value
524524
result.update(dest)
525525
continue
526526
except ValueError:
527527
pass # Fall back to JSON parsing if split fails
528-
528+
529529
try:
530530
temp = shell_safe_json_parse(s)
531531
if isinstance(temp, list): # a bit messy, but we'd like accept the output of the "list" command

0 commit comments

Comments
 (0)