Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit 3747571

Browse files
committed
formatted spacing
1 parent 14a6c99 commit 3747571

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎Scripts/Miscellaneous/CHMOD_simplifier/chmod_simplifier.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
'rwx': '7'
1212
}
1313

14+
1415
def symb_to_num(symbolic):
1516
'''
1617
Convert symbolic permission notation to numeric notation.
@@ -27,6 +28,7 @@ def symb_to_num(symbolic):
2728

2829
return numeric
2930

31+
3032
def num_to_symb(num):
3133
'''
3234
Convert number permission notation to symbolic notation.
@@ -48,6 +50,7 @@ def num_to_symb(num):
4850

4951
return symbolic
5052

53+
5154
def main():
5255
representation = sys.argv[1]
5356
mode = sys.argv[2]
@@ -58,9 +61,6 @@ def main():
5861
else:
5962
print("Invalid Mode Selection. Please select 'S' for numerical --> symbolic conversion or 'N' for symbolic --> numerical conversion!")
6063

61-
if __name__ == "__main__":
62-
main()
63-
64-
65-
6664

65+
if __name__ == "__main__":
66+
main()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /