mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Make the remaining ambiguous divisions python 3 compatible.
Refer to #256
This commit is contained in:
committed by
Tim Abbott
parent
14130a84ca
commit
37f9520666
@@ -9,6 +9,7 @@ It must be run on a machine that is using the live database for the
|
||||
Django ORM.
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import division
|
||||
|
||||
import datetime
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,7 @@ It must be run on a machine that is using the live database for the
|
||||
Django ORM.
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import division
|
||||
|
||||
import datetime
|
||||
import os
|
||||
|
||||
@@ -82,6 +82,7 @@ Qual a diferen
|
||||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import division
|
||||
|
||||
import socket, six.moves._thread, select
|
||||
PORT = 8085
|
||||
@@ -193,7 +194,7 @@ class ConnectionHandler(object):
|
||||
print('Connected')
|
||||
|
||||
def _read_write(self):
|
||||
time_out_max = self.timeout/3
|
||||
time_out_max = self.timeout//3
|
||||
socs = [self.client, self.target]
|
||||
count = 0
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user