]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
traffic: ensure we are using the same division in py 2 and 3
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 19 Apr 2018 02:13:47 +0000 (14:13 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Sat, 5 May 2018 05:25:13 +0000 (07:25 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Sat May  5 07:25:13 CEST 2018 on sn-devel-144

python/samba/emulate/traffic.py

index 9d95e3a14d5c95f206f1e922d607b6496fa73ad2..afb57da36f08ac9baa4cbc02c09c500ae670619d 100644 (file)
@@ -16,7 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
-from __future__ import print_function
+from __future__ import print_function, division
 
 import time
 import os