Fixed formatting
This commit is contained in:
parent
9994a22f16
commit
e80639c859
|
@ -62,7 +62,7 @@ class Command(BaseCommand):
|
|||
|
||||
def handle(self, *args, **options):
|
||||
directory = options['directory'] or ''
|
||||
path = os.path.join(directory, filename)
|
||||
path = os.path.join(directory, options['filename'])
|
||||
|
||||
try:
|
||||
with open(path, 'r') as f:
|
||||
|
|
|
@ -198,7 +198,7 @@ class SessionKnobManager(models.Manager):
|
|||
@staticmethod
|
||||
def get_knob_min_max_tunability(session, tunable_only=False):
|
||||
# Returns a dict of the knob
|
||||
filter_args=dict(session=session)
|
||||
filter_args = dict(session=session)
|
||||
if tunable_only:
|
||||
filter_args['tunable'] = True
|
||||
session_knobs = SessionKnob.objects.filter(**filter_args).values(
|
||||
|
|
Loading…
Reference in New Issue