Fix more indentation errors

This commit is contained in:
Nicola Soranzo
2017-08-17 11:35:39 +01:00
committed by Nicola Soranzo
parent a353b2e88f
commit a8d7b2df8b
33 changed files with 135 additions and 160 deletions
+1 -2
View File
@@ -407,8 +407,7 @@ class Tag(PageElement):
"quot": '"',
"amp": "&",
"lt": "<",
"gt": ">"
}
"gt": ">"}
# An RE for finding ampersands that aren't the start of of a
# numeric entity.
BARE_AMPERSAND = re.compile("&(?!#\d+;|#x[0-9a-fA-F]+;|\w+;)")
@@ -106,7 +106,7 @@ def deprecate_repositories(app, cutoff_time, days=14, info_only=False, verbose=F
# empty, and will not be checked.
metadata_records = sa.select([distinct(app.model.RepositoryMetadata.table.c.repository_id)],
from_obj=app.model.RepositoryMetadata.table) \
.execute()
.execute()
for metadata_record in metadata_records:
repository_ids_to_not_check.append(metadata_record.repository_id)
# Get the repositories that are A) not present in the above list, and b) older than the specified time.