Fix indentation
This commit is contained in:
parent
182129b695
commit
cdb9708b63
13
git-sound.py
13
git-sound.py
@ -349,15 +349,14 @@ if args.program == 'list':
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if args.scale not in scales:
|
if args.scale not in scales:
|
||||||
print("{} is an unknown scale. Use 'list' to list the available scales." \
|
print("{} is an unknown scale.".format(args.scale))
|
||||||
.format(args.scale))
|
print("Use 'list' to list the available scales.")
|
||||||
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if args.program not in programs:
|
if args.program not in programs:
|
||||||
print(("{} is an unknown program. " +
|
print("{} is an unknown program.".format(args.program))
|
||||||
"Use 'list' to list the available programs.") \
|
print("Use 'list' to list the available programs.")
|
||||||
.format(args.program))
|
|
||||||
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
@ -370,8 +369,8 @@ try:
|
|||||||
volume_range=args.volume_range)
|
volume_range=args.volume_range)
|
||||||
|
|
||||||
except InvalidGitRepositoryError:
|
except InvalidGitRepositoryError:
|
||||||
print("{} is not a valid Git repository".format(
|
print("{} is not a valid Git repository" \
|
||||||
os.path.abspath(args.repository)))
|
.format(os.path.abspath(args.repository)))
|
||||||
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user