mrh0wl / Cloudmare

Cloudflare, Sucuri, Incapsula real IP tracker.
Other
1.29k stars 196 forks source link

[Tool Exec Warning] SyntaxWarning: "is" with a literal. Did you mean "=="? #12

Closed s7x closed 4 years ago

s7x commented 4 years ago

Hi!

We encounter a warning when running cloudmare with the following command & args:

cloudmare example.com --subdomain

Error encountered:

/usr/share/cloudmare/lib/tools/netcat.py:15: SyntaxWarning: "is" with a literal. Did you mean "=="?
  ip = socket.gethostbyname(str(ns)) if count is 0 else str(A)

Cheers!