Skip to content

Commit

Permalink
Fix small formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Jun 30, 2021
1 parent 9d08163 commit fef9899
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def add_arguments(self, parser):
"-d",
"--delete",
action="store_true",
help="Delete AIP-related Elasticsearch data before" " indexing AIP data",
help="Delete AIP-related Elasticsearch data before indexing AIP data",
)

def handle(self, *args, **options):
Expand Down Expand Up @@ -162,7 +162,9 @@ def handle(self, *args, **options):
self.info('Rebuilding "transfers" index from packages in Storage Service.')
else:
if not os.path.exists(transfer_backlog_dir):
raise CommandError("Directory does not exist: %s", transfer_backlog_dir)
raise CommandError(
"Directory does not exist: %s" % transfer_backlog_dir
)
self.info(
'Rebuilding "transfers" index from {}.'.format(transfer_backlog_dir)
)
Expand Down

0 comments on commit fef9899

Please sign in to comment.