From 8ee515a59c7e40c67f664fcfedc17a56b6dd150b Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 6 May 2017 00:30:14 +0200 Subject: Fix the spelling of 'disable' in Python comments. Signed-off-by: Francois Gouget --- ui/scrollfax.py | 2 +- ui4/faxsetupdialog.py | 2 +- ui4/sendfaxdialog.py | 2 +- ui5/faxsetupdialog.py | 2 +- ui5/sendfaxdialog.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/scrollfax.py b/ui/scrollfax.py index ab1d84038..896610a2f 100644 --- a/ui/scrollfax.py +++ b/ui/scrollfax.py @@ -45,7 +45,7 @@ if fax_enabled: from fax import fax except ImportError: # This can fail on Python < 2.3 due to the datetime module - # or if fax was diabled during the build + # or if fax was disabled during the build log.warn("Fax send disabled - Python 2.3+ required.") fax_enabled = False diff --git a/ui4/faxsetupdialog.py b/ui4/faxsetupdialog.py index 98f502e44..2ed9a95f9 100644 --- a/ui4/faxsetupdialog.py +++ b/ui4/faxsetupdialog.py @@ -45,7 +45,7 @@ if fax_enabled: from fax import fax except ImportError: # This can fail on Python < 2.3 due to the datetime module - # or if fax was diabled during the build + # or if fax was disabled during the build fax_enabled = False if not fax_enabled: diff --git a/ui4/sendfaxdialog.py b/ui4/sendfaxdialog.py index a1ecb59dc..85331459d 100644 --- a/ui4/sendfaxdialog.py +++ b/ui4/sendfaxdialog.py @@ -65,7 +65,7 @@ if fax_enabled: from fax import fax except ImportError: # This can fail on Python < 2.3 due to the datetime module - # or if fax was diabled during the build + # or if fax was disabled during the build fax_enabled = False if not fax_enabled: diff --git a/ui5/faxsetupdialog.py b/ui5/faxsetupdialog.py index 021875ca8..5517db4e8 100644 --- a/ui5/faxsetupdialog.py +++ b/ui5/faxsetupdialog.py @@ -46,7 +46,7 @@ if fax_enabled: from fax import fax except ImportError: # This can fail on Python < 2.3 due to the datetime module - # or if fax was diabled during the build + # or if fax was disabled during the build fax_enabled = False if not fax_enabled: diff --git a/ui5/sendfaxdialog.py b/ui5/sendfaxdialog.py index 424890710..67041e6a7 100644 --- a/ui5/sendfaxdialog.py +++ b/ui5/sendfaxdialog.py @@ -66,7 +66,7 @@ if fax_enabled: from fax import fax except ImportError: # This can fail on Python < 2.3 due to the datetime module - # or if fax was diabled during the build + # or if fax was disabled during the build fax_enabled = False if not fax_enabled: -- 2.18.0