Skip to content

Commit 9389a5d

Browse files
committed
Fix whitespace
1 parent c125c3d commit 9389a5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osgtest/library/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ def check_file_ownership(file_path, owner_name):
647647
file_stat = os.stat(file_path)
648648
return (file_stat.st_uid == owner_uid.pw_uid and
649649
stat.S_ISREG(file_stat.st_mode))
650-
except OSError: # file does not exist
650+
except OSError: # file does not exist
651651
return False
652652

653653
def check_file_and_perms(file_path, owner_name, permissions):
@@ -656,7 +656,7 @@ def check_file_and_perms(file_path, owner_name, permissions):
656656
"""
657657
file_stat = os.stat(file_path)
658658
return (check_file_ownership(file_path, owner_name) and
659-
file_stat.st_mode & 0o7777 == permissions)
659+
file_stat.st_mode & 0o7777 == permissions)
660660

661661
def parse_env_output(output):
662662
"""

0 commit comments

Comments
 (0)