diff --git a/mistraldashboard/cron_triggers/forms.py b/mistraldashboard/cron_triggers/forms.py index a7a9de2..fecf29a 100644 --- a/mistraldashboard/cron_triggers/forms.py +++ b/mistraldashboard/cron_triggers/forms.py @@ -151,8 +151,8 @@ class CreateForm(forms.SelfHandlingForm): elif cleaned_data.get('input_data'): cleaned_data['input'] = cleaned_data['input_data'] - del(cleaned_data['input_upload']) - del(cleaned_data['input_data']) + del cleaned_data['input_upload'] + del cleaned_data['input_data'] if len(cleaned_data['input']) > 0: try: @@ -167,8 +167,8 @@ class CreateForm(forms.SelfHandlingForm): elif cleaned_data.get('params_data'): cleaned_data['params'] = cleaned_data['params_data'] - del(cleaned_data['params_upload']) - del(cleaned_data['params_data']) + del cleaned_data['params_upload'] + del cleaned_data['params_data'] if len(cleaned_data['params']) > 0: try: diff --git a/test-requirements.txt b/test-requirements.txt index 02499b8..9bebdfc 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,9 +1,4 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. - -# hacking should appear first in case something else depends on pep8 -hacking>=4.0.0,<4.1.0 # Apache-2.0 +hacking>=6.1.0,<6.2.0 # Apache-2.0 # Testing Requirements coverage!=4.4,>=4.0 # Apache-2.0