Commit fd270a91 authored by Yonghong Song's avatar Yonghong Song

import "input" from "builtins" for python v2/v3 compatibility

Signed-off-by: default avatarYonghong Song <yhs@plumgrid.com>
parent 950593b2
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# Licensed under the Apache License, Version 2.0 (the "License") # Licensed under the Apache License, Version 2.0 (the "License")
from sys import argv from sys import argv
from builtins import input
from pyroute2 import IPRoute, NetNS, IPDB, NSPopen from pyroute2 import IPRoute, NetNS, IPDB, NSPopen
from simulation import Simulation from simulation import Simulation
from subprocess import PIPE from subprocess import PIPE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment