Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion file_rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Expects a filename as the only argument
if not sys.argv[1:]:
print(Usage)
exit(1)
sys.exit(1)

# Create a dictionary that will hold old and new file names
file_data = {}
Expand Down
2 changes: 1 addition & 1 deletion splitter/splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"""
if len(sys.argv) < 2:
print (Usage)
exit(1)
sys.exit(1)

#####
# Defining arguments
Expand Down
2 changes: 1 addition & 1 deletion tarchiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

if len(sys.argv) < 1:
print(Usage)
exit(1)
sys.exit(1)

#####
# Defining arguments
Expand Down