Module: kamailio
Branch: master
Commit: 7b1fe0483b684693c7baea9b62b471b64c6e22a9
URL:
https://github.com/kamailio/kamailio/commit/7b1fe0483b684693c7baea9b62b471b…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-06-12T08:24:01Z
tools: use python3 for route_graph.py tool, for old systems with both python2/python3, fix
file closing
---
Modified: misc/tools/route_graph/route_graph.py
---
Diff:
https://github.com/kamailio/kamailio/commit/7b1fe0483b684693c7baea9b62b471b…
Patch:
https://github.com/kamailio/kamailio/commit/7b1fe0483b684693c7baea9b62b471b…
---
diff --git a/misc/tools/route_graph/route_graph.py
b/misc/tools/route_graph/route_graph.py
index 307f847b114..ae935a450bf 100755
--- a/misc/tools/route_graph/route_graph.py
+++ b/misc/tools/route_graph/route_graph.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
"""
* $Id$
*
@@ -232,4 +232,4 @@ def traverse_routes(_level, _name):
traverse_routes(1, r)
print()
-
+cfg.close()