diff --git a/requirements.txt b/requirements.txt index 49953923..cfc126e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,3 @@ -# 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. - pbr>=1.6 oslo.log>=3.30.0 # Apache-2.0 python-swiftclient>=2.2.0 diff --git a/test-requirements.txt b/test-requirements.txt index ed0f57f0..22e98e7f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,12 +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>=3.0.1,<3.1.0 # Apache-2.0 -# remove this pyflakes from here once you bump the -# hacking to 3.2.0 or above. hacking 3.2.0 takes -# care of pyflakes version compatibilty. -pyflakes>=2.1.1 +hacking>=7.0.0,<7.1.0 # Apache-2.0 coverage>=3.6 ddt>=0.7.0 diff --git a/trove_dashboard/content/database_backups/views.py b/trove_dashboard/content/database_backups/views.py index 590c2180..ed5fe400 100644 --- a/trove_dashboard/content/database_backups/views.py +++ b/trove_dashboard/content/database_backups/views.py @@ -93,7 +93,7 @@ class DetailView(horizon_views.APIView): exceptions.handle(self.request, msg, redirect=redirect) try: - if(hasattr(backup, 'parent_id') and backup.parent_id is not None): + if hasattr(backup, 'parent_id') and backup.parent_id is not None: backup.parent = api.trove.backup_get(request, backup.parent_id) except Exception: redirect = reverse('horizon:project:database_backups:index')