Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix port script #2577

Merged
merged 1 commit into from
Oct 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/synapse_port_db
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class Store(object):

_simple_update_one = SQLBaseStore.__dict__["_simple_update_one"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant, fwiw

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a crank

_simple_update_one_txn = SQLBaseStore.__dict__["_simple_update_one_txn"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likewise

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It gets used as well in the script?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a crank. ignore me.

_simple_update_txn = SQLBaseStore.__dict__["_simple_update_txn"]

def runInteraction(self, desc, func, *args, **kwargs):
def r(conn):
Expand Down