Skip to content

Commit

Permalink
Remove unused imports, from python scripts. (facebook#4057)
Browse files Browse the repository at this point in the history
Summary:
Also remove redefined variable.
As reported on https://lgtm.com/projects/g/facebook/rocksdb/
Closes facebook#4057

Differential Revision: D8648342

Pulled By: ajkr

fbshipit-source-id: afd2ba84d1364d316010179edd44777e64ca9183
  • Loading branch information
thatsafunnyname authored and facebook-github-bot committed Jun 26, 2018
1 parent a8e503e commit 2694b6d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions buckifier/buckify_rocksdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
from __future__ import print_function
from __future__ import unicode_literals
from targets_builder import TARGETSBuilder
from optparse import OptionParser
import os
import fnmatch
import sys
import tempfile

from util import ColorString
import util

# tests to export as libraries for inclusion in other projects
_EXPORTED_TEST_LIBS = ["env_basic_test"]
Expand Down
1 change: 0 additions & 1 deletion coverage/parse_gcov_output.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import optparse
import re
import sys

Expand Down
4 changes: 1 addition & 3 deletions tools/db_crashtest.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#! /usr/bin/env python
import os
import re
import sys
import time
import random
import logging
import tempfile
import subprocess
import shutil
Expand Down Expand Up @@ -291,7 +289,7 @@ def whitebox_crash_main(args, unknown_args):
}
else:
# normal run
additional_opts = additional_opts = {
additional_opts = {
"kill_random_test": None,
"ops_per_thread": cmd_params['ops_per_thread'],
}
Expand Down

0 comments on commit 2694b6d

Please sign in to comment.