python: remove all 'from __future__ import division'
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 28 Apr 2021 01:04:57 +0000 (01:04 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 28 Apr 2021 03:43:34 +0000 (03:43 +0000)
This made '//' and '/' in Python 2 behave as in Python 3.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/emulate/traffic.py
python/samba/graph.py
python/samba/netcmd/domain.py
python/samba/upgradehelpers.py

index 87efca61eca574e08f800f370a05d75f08111708..e3f281f2327ce387fa2a0fa1200576fda545940a 100644 (file)
@@ -16,7 +16,6 @@
 # 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 division
 
 import time
 import os
index 0cfe951d7f718b8932e6900a03c9b67ace22c5f7..a338fd44a8db526e55ec2a410d798b3cb21a93a3 100644 (file)
@@ -18,7 +18,6 @@
 # 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 division
 from samba import colour
 import sys
 from itertools import cycle, groupby
index 841372de254a612598d3b57f7e75a7e48063deda..6b1e3ba3f7ee761bdaea655e0255416322810816 100644 (file)
@@ -22,7 +22,6 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-from __future__ import division
 import samba.getopt as options
 import ldb
 import os
index d012cea5bd2ba0280678d6419447b44ba6c0b0bd..7f92b45f3fb20d04c67076b384277be0a160424c 100644 (file)
@@ -19,7 +19,6 @@
 # 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 division
 """Helpers used for upgrading between different database formats."""
 
 import os