SyntaxWarning on Python 3.8 in

Bug #1859877 reported by Jacob Middag
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

When running duplicity on Python 3.8, I get a SyntaxWarning

/usr/local/Cellar/duplicity/0.8.09/libexec/lib/python3.8/site-packages/duplicity/ SyntaxWarning: "is" with a literal. Did you mean "=="?
  if result is 2:

Looks to me the suggestion is correct and should be fixed. With a simple regex I could not find more identity comparisons with a number literal.

Duplicity: 0.8.09
Python 3.8.1
macOS 10.15 (Catalina)

Changed in duplicity:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 0.8.10
Changed in duplicity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers