Skip to content

Commit

Permalink
Merge pull request cs50#150 from cs50/typo
Browse files Browse the repository at this point in the history
s/f/other/
  • Loading branch information
Kareem Zidane authored Nov 8, 2017
2 parents fa02e9d + c4c41de commit db334f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submit50.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def submit(org, branch):

# get file lists
files = run("git ls-files").splitlines()
others = run("git ls-files --exclude-standard --other").splitlines()
others = run("git ls-files --exclude-from={}/info/exclude --other".format(run.GIT_DIR)).splitlines()

# unescape any octal codes in lists
# https://stackoverflow.com/a/46650050/5156190
Expand Down Expand Up @@ -620,7 +620,7 @@ def unescape(s):
if others:
cprint(_("Files that won't be submitted:"), "yellow")
for other in others:
cprint("./{}".format(f), "yellow")
cprint("./{}".format(other), "yellow")

# prompt for honesty
readline.clear_history()
Expand Down

0 comments on commit db334f6

Please sign in to comment.