From c2d470057165060e2ff8626cbf8946f0daa78102 Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Fri, 13 Aug 2021 15:35:32 -0500 Subject: [PATCH] Remove unused python imports (#7859) --- scripts/gitlab-branch-cleanup/main.py | 2 -- scripts/openstack-cleanup/main.py | 1 - 2 files changed, 3 deletions(-) diff --git a/scripts/gitlab-branch-cleanup/main.py b/scripts/gitlab-branch-cleanup/main.py index ec1875935..2d7fe1c2f 100644 --- a/scripts/gitlab-branch-cleanup/main.py +++ b/scripts/gitlab-branch-cleanup/main.py @@ -5,8 +5,6 @@ import sys from datetime import timedelta, datetime, timezone -from pprint import pprint - parser = argparse.ArgumentParser( description='Cleanup old branches in a GitLab project') parser.add_argument('--api', default='https://gitlab.com/', diff --git a/scripts/openstack-cleanup/main.py b/scripts/openstack-cleanup/main.py index 5f6d0c398..9bc24d3f3 100755 --- a/scripts/openstack-cleanup/main.py +++ b/scripts/openstack-cleanup/main.py @@ -4,7 +4,6 @@ import openstack import logging import datetime import time -from pprint import pprint DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ' PAUSE_SECONDS = 5