Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 7d52027

Browse files
committed
PEP Fixes
1 parent 7157d06 commit 7d52027

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

db/datastore.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ def _create_database(database_path):
183183
"timestamp" integer NOT NULL,
184184
action_id integer NOT NULL
185185
);''')
186-
cursor.execute('''CREATE INDEX IF NOT EXISTS shopper_guid_index ON audit_shopping (audit_shopping_id ASC);''')
186+
cursor.execute('''CREATE INDEX IF NOT EXISTS shopper_guid_index ON audit_shopping
187+
(audit_shopping_id ASC);''')
187188
cursor.execute('''CREATE INDEX IF NOT EXISTS action_id_index ON audit_shopping (audit_shopping_id ASC);''')
188189

189190
conn.commit()

market/audit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ def record(self, guid, action_id, contract_hash=None):
2828
if action_id in self.action_ids:
2929
self.db.audit_shopping.set(guid, self.action_ids[action_id], contract_hash)
3030
else:
31-
self.log.error("Could not identify this action id")
31+
self.log.error("Could not identify this action id")

0 commit comments

Comments
 (0)