[Python-modules-commits] [napalm-base] 02/05: Use gtextfsm instead of jtextfsm

Vincent Bernat bernat at moszumanska.debian.org
Sun Dec 25 10:19:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

bernat pushed a commit to branch master
in repository napalm-base.

commit 1453c9765e2d8bb8e802fe946e97c41a4a732b4b
Author: Vincent Bernat <vincent at bernat.im>
Date:   Wed Nov 2 19:44:23 2016 +0100

    Use gtextfsm instead of jtextfsm
    
    While gtextfsm is not compatible with Python 3, jtextfsm is not in
    Debian and tests are failing with Python 2. Since the remaining of the
    ecosystem is mostly Python 2 and the freeze is soon, let's use the
    simpler solution.
---
 napalm_base.egg-info/requires.txt | 2 +-
 napalm_base/helpers.py            | 2 +-
 requirements.txt                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/napalm_base.egg-info/requires.txt b/napalm_base.egg-info/requires.txt
index 5760f0d..26fde49 100644
--- a/napalm_base.egg-info/requires.txt
+++ b/napalm_base.egg-info/requires.txt
@@ -1,4 +1,4 @@
-jtextfsm
+gtextfsm
 jinja2
 netaddr
 pyYAML
diff --git a/napalm_base/helpers.py b/napalm_base/helpers.py
index ed7d63f..78b1a13 100644
--- a/napalm_base/helpers.py
+++ b/napalm_base/helpers.py
@@ -10,7 +10,7 @@ import sys
 
 # third party libs
 import jinja2
-import jtextfsm as textfsm
+import textfsm
 from netaddr import EUI
 from netaddr import mac_unix
 from netaddr import IPAddress
diff --git a/requirements.txt b/requirements.txt
index 5760f0d..26fde49 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-jtextfsm
+gtextfsm
 jinja2
 netaddr
 pyYAML

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/napalm-base.git



More information about the Python-modules-commits mailing list