diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-11-01 02:43:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 02:43:24 +1100 |
commit | 020add50997f697c7847ac84b86b457ba2f3e32d (patch) | |
tree | 4fe9abbcd1cac11bfe9077a85ceabd7bf9ea94ce /contrib/experiments/test_messaging.py | |
parent | Merge pull request #6294 from matrix-org/erikj/add_state_storage (diff) | |
download | synapse-020add50997f697c7847ac84b86b457ba2f3e32d.tar.xz |
Update black to 19.10b0 (#6304)
* update version of black and also fix the mypy config being overridden
Diffstat (limited to 'contrib/experiments/test_messaging.py')
-rw-r--r-- | contrib/experiments/test_messaging.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/experiments/test_messaging.py b/contrib/experiments/test_messaging.py index 6b22400a60..3bbbcfa1b4 100644 --- a/contrib/experiments/test_messaging.py +++ b/contrib/experiments/test_messaging.py @@ -78,7 +78,7 @@ class InputOutput(object): m = re.match("^join (\S+)$", line) if m: # The `sender` wants to join a room. - room_name, = m.groups() + (room_name,) = m.groups() self.print_line("%s joining %s" % (self.user, room_name)) self.server.join_room(room_name, self.user, self.user) # self.print_line("OK.") @@ -105,7 +105,7 @@ class InputOutput(object): m = re.match("^backfill (\S+)$", line) if m: # we want to backfill a room - room_name, = m.groups() + (room_name,) = m.groups() self.print_line("backfill %s" % room_name) self.server.backfill(room_name) return |