Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
andbag committed Apr 5, 2018
1 parent f015bb9 commit 8a650dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Products/PluginIndexes/UUIDIndex/UUIDIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ class UUIDIndex(UnIndex):
For each datum only one documentId can exist.
"""

meta_type = "UUIDIndex"
meta_type = 'UUIDIndex'

manage_options = (
{'label': 'Settings', 'action': 'manage_main'},
{'label': 'Browse', 'action': 'manage_browse'},
)

query_options = ["query", "range"]
query_options = ['query', 'range']

manage = manage_main = DTMLFile('dtml/manageUUIDIndex', globals())
manage_main._setName('manage_main')
Expand Down Expand Up @@ -95,8 +95,8 @@ def insertForwardIndexEntry(self, entry, documentId):
self._index[entry] = documentId
self._length.change(1)
elif old_docid != documentId:
logger.error("A different document with value '%s' already "
"exists in the index.'" % entry)
logger.error("A different document with value '{0}' already "
"exists in the index.'".format(entry))

def removeForwardIndexEntry(self, entry, documentId):
"""Take the entry provided and remove any reference to documentId
Expand Down

0 comments on commit 8a650dc

Please sign in to comment.