summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-13 07:08:37 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-13 07:08:37 +0200
commite7372e132a152477104d7e208a0be956b9879a71 (patch)
tree3cf601ea3f8b17ba55f8c895bdf5fa661e72e319 /python
parent21bc98f16110d0fa2d7d93409252da73f58878ed (diff)
downloadvyos-1x-e7372e132a152477104d7e208a0be956b9879a71.tar.gz
vyos-1x-e7372e132a152477104d7e208a0be956b9879a71.zip
ifconfig: dhcp: fix ModuleNotFoundError: No module named 'vyos.ifconfig.dhcp'
Commit 21bc98f1 ("ifconfig: dhcp: T2767: client must not start when interface is disabled") dropped the vyos.ifconfig.dhcp module but not removed it from the modules import list.
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/__init__.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/__init__.py b/python/vyos/ifconfig/__init__.py
index a7cdeadd1..9cd8d44c1 100644
--- a/python/vyos/ifconfig/__init__.py
+++ b/python/vyos/ifconfig/__init__.py
@@ -13,12 +13,10 @@
# You should have received a copy of the GNU Lesser General Public
# License along with this library. If not, see <http://www.gnu.org/licenses/>.
-
from vyos.ifconfig.section import Section
from vyos.ifconfig.control import Control
from vyos.ifconfig.interface import Interface
from vyos.ifconfig.operational import Operational
-from vyos.ifconfig.dhcp import DHCP
from vyos.ifconfig.vrrp import VRRP
from vyos.ifconfig.bond import BondIf