diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2016-07-07 10:09:22 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2016-07-07 10:10:26 +0900 |
commit | 1ef0e45246ba9e24b76597f1023ee16b877eb0d1 (patch) | |
tree | ee65d8ce0b175472d5a47c42e4157d77d9ffe7c2 | |
parent | 3154b112cec3fb1069aa40e938b8dd7eba43da17 (diff) |
dh_xul-ext: get_epoch readability
-rwxr-xr-x | dh_xul-ext | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |