kytos-ng / sdntrace

Napp that traces OpenFlow paths in the dataplane
https://kytos-ng.github.io/api/sdntrace.html
GNU Lesser General Public License v3.0
0 stars 6 forks source link

SyntaxWarning: is with a literal in trace_manager.py:135 #4

Closed italovalcy closed 1 year ago

italovalcy commented 2 years ago

Running Kytos-ng in foreground mode (from the docker image amlight/kytos:latest):

/var/lib/kytos/napps/../napps/amlight/sdntrace/tracing/trace_manager.py:135: SyntaxWarning: "is" with a literal. Did you mean "=="?                                  [0/0]
  if len(color) is 0:
viniarck commented 1 year ago

Landed on https://github.com/kytos-ng/sdntrace/pull/20/files