Restore compatibility with python2
authorGuillaume Chazarain <guichaz@gmail.com>
Mon, 3 Sep 2012 20:46:38 +0000 (3 22:46 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Mon, 3 Sep 2012 20:46:38 +0000 (3 22:46 +0200)
iotop/data.py

index a4954b3..84ac409 100644 (file)
@@ -16,6 +16,9 @@
 #
 # Copyright (c) 2007 Guillaume Chazarain <guichaz@gmail.com>
 
+# Allow printing with same syntax in Python 2/3
+from __future__ import print_function
+
 import errno
 import os
 import pprint