Another indentation-related fix
This commit is contained in:
parent
f5d299d8c7
commit
63c9e6a444
@ -821,9 +821,8 @@ class File(BaseType):
|
|||||||
try:
|
try:
|
||||||
if not os.path.isabs(value):
|
if not os.path.isabs(value):
|
||||||
cfgdir = standarddir.config()
|
cfgdir = standarddir.config()
|
||||||
if cfgdir:
|
if cfgdir and os.path.isfile(os.path.join(cfgdir, value)):
|
||||||
if os.path.isfile(os.path.join(cfgdir, value)):
|
return
|
||||||
return
|
|
||||||
raise configexc.ValidationError(value,
|
raise configexc.ValidationError(value,
|
||||||
"must be an absolute path!")
|
"must be an absolute path!")
|
||||||
if not os.path.isfile(value):
|
if not os.path.isfile(value):
|
||||||
|
Loading…
Reference in New Issue
Block a user