Skip to content

[Python] Remove unused imports and unused local variables #837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 1, 2016
Merged
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
3 changes: 1 addition & 2 deletions utils/name-compression/HuffGen.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

import sys
from heapq import heappush, heappop, heapify
from heapq import heappush, heappop
from collections import defaultdict

filenames = sys.argv[1:]
Expand All @@ -16,7 +16,6 @@ def addLine(line):
"""
Analyze the frequency of letters in \p line.
"""
max_string_length = 8
for c in line: hist[c] += 1

# Read all of the input files and analyze the content of the files.
Expand Down
1 change: 0 additions & 1 deletion utils/update-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ from SwiftBuildSupport import (
SWIFT_SOURCE_ROOT,
WorkingDirectory,
check_call,
check_output,
)

def update_working_copy(repo_path):
Expand Down