summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@debian.org>2014-05-09 23:29:23 +0200
committerBenjamin Drung <bdrung@debian.org>2014-05-09 23:29:23 +0200
commitb1c34effb6d626aead9028258c67ff7afda0831e (patch)
treef69a9d460b99d763db8505b3becb38abaa7f1b68
parentc63a7398cb92e934318041069c17f46f92b59e24 (diff)
Simplify boolean oparation.
-rwxr-xr-xdh_xul-ext6
1 files changed, 2 insertions, 4 deletions
diff --git a/dh_xul-ext b/dh_xul-ext
index 5a034ef..221135b 100755
--- a/dh_xul-ext
+++ b/dh_xul-ext
@@ -58,10 +58,8 @@ class XulApp(object):
Firefox/Iceweasel 10 and Thunderbird/Icedove 10 defaults add-ons to
compatible."""
- if (self.xul_id in (FIREFOX_ID, THUNDERBIRD_ID) and
- compare_versions(self.max_version, "10") >= 0):
- return True
- return False
+ return(self.xul_id in (FIREFOX_ID, THUNDERBIRD_ID) and
+ compare_versions(self.max_version, "10") >= 0)
def get_breaks(self):
"""Return a string for ${xpi:Breaks} for the XUL application."""