Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Commit

Permalink
put in parentheses to make expression more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Collins committed Dec 29, 2009
1 parent 0b7980d commit 64abb81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paypal/sdk/response.py
Expand Up @@ -21,5 +21,5 @@ def __getattr__(self, key):
raise AttributeError(self)

def success(self):
return self.ack.upper() in ACK_SUCCESS, ACK_SUCCESS_WITH_WARNING
return self.ack.upper() in (ACK_SUCCESS, ACK_SUCCESS_WITH_WARNING)
success = property(success)

0 comments on commit 64abb81

Please sign in to comment.