Fix print() breakage in python 2.7 environments
authorBrenden Blanco <bblanco@plumgrid.com>
Wed, 26 Aug 2015 05:40:21 +0000 (22:40 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Wed, 26 Aug 2015 05:40:21 +0000 (22:40 -0700)
Fixes: #164
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
src/python/bpf/__init__.py

index ffb9246..032e09c 100644 (file)
@@ -12,6 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+from __future__ import print_function
 import atexit
 from collections import MutableMapping
 import ctypes as ct