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

Closed
opened 2026-03-03 15:56:42 +03:00 by kerem · 0 comments
Owner

Originally created by @s7x on GitHub (Nov 20, 2019).
Original GitHub issue: https://github.com/mrh0wl/Cloudmare/issues/12

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!

Originally created by @s7x on GitHub (Nov 20, 2019). Original GitHub issue: https://github.com/mrh0wl/Cloudmare/issues/12 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!
kerem closed this issue 2026-03-03 15:56:43 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloudmare#10
No description provided.