Skip to content

Commit

Permalink
Fixing typo in variable name: DEFAULT_BENCMARK_DIR -> DEFAULT_BENCHMA…
Browse files Browse the repository at this point in the history
…RK_DIR.
  • Loading branch information
gregmuellegger committed Jun 8, 2012
1 parent 5a7e9f8 commit 5b233ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djangobench/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

__version__ = '0.9'

DEFAULT_BENCMARK_DIR = Path(__file__).parent.child('benchmarks').absolute()
DEFAULT_BENCHMARK_DIR = Path(__file__).parent.child('benchmarks').absolute()

def run_benchmarks(control, experiment, benchmark_dir, benchmarks, trials, vcs=None, record_dir=None, profile_dir=None, continue_on_errror=False):
if benchmarks:
Expand Down Expand Up @@ -272,7 +272,7 @@ def main():
'--benchmark-dir',
dest = 'benchmark_dir',
metavar = 'PATH',
default = DEFAULT_BENCMARK_DIR,
default = DEFAULT_BENCHMARK_DIR,
help = ('Directory to inspect for benchmarks. Defaults to the '
'benchmarks included with djangobench.'),
)
Expand Down

0 comments on commit 5b233ba

Please sign in to comment.