# HG changeset patch # User RĂ©mi Cardona # Date 1425894543 -3600 # Node ID 51321946da37e44fb54a5064deee2d8da2816ca7 # Parent e8ac062d4b20a557cf898f616946042d745ce21d Spelling fixes in comments and docstrings diff -r e8ac062d4b20 -r 51321946da37 devtools/__init__.py --- a/devtools/__init__.py Wed Apr 08 11:29:24 2015 +0200 +++ b/devtools/__init__.py Mon Mar 09 10:49:03 2015 +0100 @@ -783,7 +783,7 @@ dbfile = self.absolute_dbfile() backup_file = self.absolute_backup_file(db_id, 'sqlite') shutil.copy(dbfile, backup_file) - # Usefull to debug WHO write a database + # Useful to debug WHO writes a database # backup_stack = self.absolute_backup_file(db_id, '.stack') #with open(backup_stack, 'w') as backup_stack_file: # import traceback diff -r e8ac062d4b20 -r 51321946da37 server/repository.py --- a/server/repository.py Wed Apr 08 11:29:24 2015 +0200 +++ b/server/repository.py Mon Mar 09 10:49:03 2015 +0100 @@ -1078,7 +1078,7 @@ continue # take care to relation of cardinality '?1', as all eids will # be inserted later, we've remove duplicated eids since they - # won't be catched by `del_existing_rel_if_needed` + # won't be caught by `del_existing_rel_if_needed` rdef = cnx.rtype_eids_rdef(rtype, subjeid, objeid) card = rdef.cardinality if card[0] in '?1': diff -r e8ac062d4b20 -r 51321946da37 utils.py --- a/utils.py Wed Apr 08 11:29:24 2015 +0200 +++ b/utils.py Mon Mar 09 10:49:03 2015 +0100 @@ -646,7 +646,7 @@ Occasional elements can be buggy requests (server-side) or end-user (web-ui provided) requests. These have to be cleaned up - when they fill the cache, without evicting the usefull, frequently + when they fill the cache, without evicting the useful, frequently used entries. """ # quite arbitrary, but we want to never diff -r e8ac062d4b20 -r 51321946da37 web/component.py --- a/web/component.py Wed Apr 08 11:29:24 2015 +0200 +++ b/web/component.py Mon Mar 09 10:49:03 2015 +0100 @@ -353,7 +353,7 @@ has some content to display. If not, you can still raise :exc:`EmptyComponent` to inform it should be skipped. - Also, :exc:`Unauthorized` will be catched, logged, then the component + Also, :exc:`Unauthorized` will be caught, logged, then the component will be skipped. """ self.items = [] diff -r e8ac062d4b20 -r 51321946da37 web/views/basetemplates.py --- a/web/views/basetemplates.py Wed Apr 08 11:29:24 2015 +0200 +++ b/web/views/basetemplates.py Mon Mar 09 10:49:03 2015 +0100 @@ -490,7 +490,7 @@ class LogFormView(View): - # XXX an awfull lot of hardcoded assumptions there + # XXX an awful lot of hardcoded assumptions there # makes it unobvious to reuse/specialize __regid__ = 'logform' __select__ = match_kwargs('id', 'klass')