summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_xul-ext13
1 files changed, 7 insertions, 6 deletions
diff --git a/dh_xul-ext b/dh_xul-ext
index d68a95c..9f1450e 100755
--- a/dh_xul-ext
+++ b/dh_xul-ext
@@ -51,13 +51,14 @@ class XulApp(object):
def get_epoch(self, version):
"""
- Check wether a version needs an epoch
+ Check whether a version needs an epoch
"""
- if (get_vendor() == 'Debian' and
- self.xul_id == THUNDERBIRD_ID and
- compare_versions(version, "45") >= 0):
- return 1
- return 0
+ if (get_vendor() == 'Debian'
+ and self.xul_id == THUNDERBIRD_ID
+ and compare_versions(version, "45") >= 0):
+ return 1
+ else:
+ return 0
def defaults_to_compatible(self):
"""Returns true if the maximum and all later versions of the XUL