Commit be26343b authored by Barak A. Pearlmutter's avatar Barak A. Pearlmutter

spelling

parent a5ba94a6
......@@ -40,7 +40,7 @@ that website.
** Dependencies
- You need Python (tested with 2.7, try earlier versions at your
descretion; may not work with Python 3)
discretion; may not work with Python 3)
- If you wish to sync to Outlook you can do that only on Windows. Further
you will need MS Outlook installed, along with a third party python
......@@ -66,7 +66,7 @@ that website.
The supported doc types are: 'pdf', 'html', 'info', 'docbook', and 'text'
You may have to install additional programs like makeinfo, texi2html
etc. See the "Depdencies" section in the documentation
etc. See the "Dependencies" section in the documentation
** Usage
......@@ -85,4 +85,4 @@ that website.
On any non-windows platform your ~/.bbdb will be synced to google.
For furhter usage help, try "python asynk.py -h"
For further usage help, try "python asynk.py -h"
......@@ -110,7 +110,7 @@ def main (argv=sys.argv):
asynk.dispatch()
def setup_logging (config):
"""Set up the logging setings to the defaults. The log directory is
"""Set up the logging settings to the defaults. The log directory is
created inside asynk_user_dir, which is assumed to exist already"""
formatter = logging.Formatter('[%(asctime)s.%(msecs)03d '
......@@ -211,7 +211,7 @@ def setup_parser ():
p.add_argument('--direction', action='store', default='2way',
choices=('1way', '2way'),
help='Specifies whether a sync has to be unidirectional '
'or bidirectional. Defaults to bidiretioanl sync, i.e. '
'or bidirectional. Defaults to bidirectional sync, i.e. '
'"2way"')
p.add_argument('--label-regex', action='store',
......@@ -266,7 +266,7 @@ class Asynk:
def _login (self, force=False):
"""This routine is typically invoked after the operation handler
performs parameter checking. We do not want to invoke this in the
constructor itself becuase it causes delay, and unnecessary database
constructor itself because it causes delay, and unnecessary database
or network access even in the case there are errors on the command
line.
......@@ -361,7 +361,7 @@ class Asynk:
(re.search('_profile', self.get_op()))):
raise AsynkParserError('--db needed for this operation.')
# The validation that followsi s only relevant for command line
# The validation that follows is only relevant for command line
# usage.
if self.get_op() == 'op_startweb':
......@@ -531,7 +531,7 @@ class Asynk:
else:
if (not cr in [db1, db2]):
raise AsynkParserError('--conflict-resolve should be one of '
'the two dbids specified ealrier.')
'the two dbids specified earlier.')
sync_dir = self.get_sync_dir()
......@@ -602,7 +602,7 @@ class Asynk:
if hr:
del profiles[pname]
conf.set_profiles(profiles)
logging.info('Successfully deleted the profiel %s from your '
logging.info('Successfully deleted the profile %s from your '
'Asynk configuration.', pname)
else:
logging.info('Due to errors in clearing sync tags, profile '
......@@ -857,7 +857,7 @@ class Asynk:
elif conf.profile_exists(def_pname):
pname = def_pname
else:
## Hm, the default profile disappeared from under us... No
## Hmm, the default profile disappeared from under us... No
## worries, just reset to null and move on..
conf.set_default_profile(None)
raise AsynkParserError('Could not find default profile to '
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment