Browse Source

Remove unused python imports (#7859)

pull/7883/head
Victor Morales 3 years ago
committed by GitHub
parent
commit
c2d4700571
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions
  1. 2
      scripts/gitlab-branch-cleanup/main.py
  2. 1
      scripts/openstack-cleanup/main.py

2
scripts/gitlab-branch-cleanup/main.py

@ -5,8 +5,6 @@ import sys
from datetime import timedelta, datetime, timezone from datetime import timedelta, datetime, timezone
from pprint import pprint
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description='Cleanup old branches in a GitLab project') description='Cleanup old branches in a GitLab project')
parser.add_argument('--api', default='https://gitlab.com/', parser.add_argument('--api', default='https://gitlab.com/',

1
scripts/openstack-cleanup/main.py

@ -4,7 +4,6 @@ import openstack
import logging import logging
import datetime import datetime
import time import time
from pprint import pprint
DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ' DATE_FORMAT = '%Y-%m-%dT%H:%M:%SZ'
PAUSE_SECONDS = 5 PAUSE_SECONDS = 5

Loading…
Cancel
Save