diff options
author | Hochikong <michellehzg@gmail.com> | 2016-06-08 10:59:52 +0800 |
---|---|---|
committer | Hochikong <michellehzg@gmail.com> | 2016-06-08 10:59:52 +0800 |
commit | a4a14765415f8252e94307f657383a3ee66d2fa7 (patch) | |
tree | 2a78195d4e3a3bd882cc46b3e413c65e31db1709 /vyroute/basic_function/RIPRoute.py | |
parent | 99bfc986fe21ddf8c5c91a77e6db9c59d91cdb15 (diff) | |
download | python-vyos-mgmt-a4a14765415f8252e94307f657383a3ee66d2fa7.tar.gz python-vyos-mgmt-a4a14765415f8252e94307f657383a3ee66d2fa7.zip |
T85:Python management library is not Python3 compatible.
Fix Router.py and all file in basic_function/ to support Python3.
Diffstat (limited to 'vyroute/basic_function/RIPRoute.py')
-rw-r--r-- | vyroute/basic_function/RIPRoute.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vyroute/basic_function/RIPRoute.py b/vyroute/basic_function/RIPRoute.py index 2ce73cd..a493eac 100644 --- a/vyroute/basic_function/RIPRoute.py +++ b/vyroute/basic_function/RIPRoute.py @@ -17,5 +17,5 @@ def riproute(obj, data): obj.execute(rip_basic_configuration % data['config']) obj.execute(redistribute_configuration) return {"Result": "Configured successfully"} - except Exception, e: + except Exception as e: return {"Error": e} |