Skip to content

Commit

Permalink
add multiple imports
Browse files Browse the repository at this point in the history
  • Loading branch information
itdependsnetworks committed Dec 15, 2017
1 parent cab7340 commit b4a1d4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion napalm_panos/panos.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
from napalm_base.exceptions import ConnectionException, ReplaceConfigException,\
MergeConfigException

from napalm_base.base import NetworkDriver
try:
from napalm_base import NetworkDriver
except ImportError:
from napalm_base.base import NetworkDriver

from napalm_base.utils import py23_compat

Expand Down

0 comments on commit b4a1d4f

Please sign in to comment.