Skip to content

Commit e650ab7

Browse files
committed
Fixed typos
1 parent 2368c3a commit e650ab7

23 files changed

Lines changed: 39 additions & 39 deletions

File tree

CHANGES

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Version 5.4.0
33

44
SENTRY_PUBLIC now dictates whether or not a Sentry install should be considered
55
accessible by all users or not. This should better solve the use-case of companies
6-
hosting a Sentry instance internally and not nescesarily needing the permissions
6+
hosting a Sentry instance internally and not necessarily needing the permissions
77
that teams give you.
88

99
If enabled, all teams and all projects will be accessible all members (for any endpoint
@@ -344,14 +344,14 @@ now __init__(request, project).
344344
Version 3.6.0
345345
-------------
346346

347-
This version focuses on improving mebership control. It includes the ability to revoke
347+
This version focuses on improving membership control. It includes the ability to revoke
348348
project members access temporarily (by suspending them), as well as revoking users
349349
(outside of Sentry) via the user.is_active flag.
350350

351351
Additionally, it brings the beginnings of an "invite user" flow, allowing you to
352352
invite users who may or may not already have accounts in the system. We plan to improve
353353
this flow in an upcoming release to allow invitees easy registration within the system
354-
if they dont already have an account.
354+
if they don't already have an account.
355355

356356
Version 3.5.0
357357
-------------
@@ -539,7 +539,7 @@ Version 2.2.1
539539
Version 2.2.0
540540
-------------
541541

542-
* Sentry has a brand new design utlizing Bootstrap 2.
542+
* Sentry has a brand new design utilizing Bootstrap 2.
543543
* Superusers can now create projects for users.
544544

545545
Version 2.1.3

docs/client/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ protocol:
1414
- iOS / Objective-C (`raven-objc <https://github.com/getsentry/raven-objc>`_)
1515
- C# (`raven-csharp <https://github.com/getsentry/raven-csharp>`_)
1616

17-
Additionally, the following experimental clients are availabe:
17+
Additionally, the following experimental clients are available:
1818

1919
- Action Script 3 (`raven-as3 <https://github.com/skitoo/raven-as3>`_)
2020
- CFML (`raven-cfml <https://github.com/jmacul2/raven-cfml>`_)

docs/contributing/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You'll likely want to make some changes to the default configuration (we recomme
6262
Coding Standards
6363
----------------
6464

65-
Sentry follows the guidelines layed out in `pep8 <http://www.python.org/dev/peps/pep-0008/>`_ with a little bit
65+
Sentry follows the guidelines laid out in `pep8 <http://www.python.org/dev/peps/pep-0008/>`_ with a little bit
6666
of flexibility on things like line length. We always give way for the `Zen of Python <http://www.python.org/dev/peps/pep-0020/>`_. We also use strict mode for JavaScript, enforced by jshint.
6767

6868
You can run all linters with ``make lint``, or respectively ``lint-python`` or ``lint-js``.
@@ -104,7 +104,7 @@ Developing with Django
104104

105105
Because Sentry is just Django, you can use all of the standard Django functionality. The only difference is you'll be accessing commands that would normally go through manage.py using the ``sentry`` CLI helper instead.
106106

107-
For example, you probably don't want to use ``sentry start`` for development, as it doesnt support anything like
107+
For example, you probably don't want to use ``sentry start`` for development, as it doesn't support anything like
108108
automatic reloading on code changes. For that you'd want to use the standard builtin ``runserver`` command:
109109

110110
::

docs/developer/client/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ And then you capture an event::
495495
'tags': {'foo': 'baz'},
496496
})
497497

498-
The client should send the following usptream for ``tags``::
498+
The client should send the following upstream for ``tags``::
499499

500500
{
501501
"tags": [

src/sentry/buffer/redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def process(self, model, columns, filters, extra=None):
106106
continue
107107
extra[key] = pickle.loads(str(value))
108108

109-
# Filter out empty or zero'd results to avoid a potentially unnescesary update
109+
# Filter out empty or zero'd results to avoid a potentially unnecessary update
110110
results = dict((k, int(v)) for k, v in results.iteritems() if int(v or 0) > 0)
111111
if not results:
112112
return

src/sentry/coreapi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"""
88
# TODO: We should make the API a class, and UDP/HTTP just inherit from it
99
# This will make it so we can more easily control logging with various
10-
# metadata (rather than generic log messages which arent useful).
10+
# metadata (rather than generic log messages which aren't useful).
1111

1212
from datetime import datetime, timedelta
1313
import base64
@@ -142,7 +142,7 @@ def project_from_auth_vars(auth_vars):
142142
except TeamMember.DoesNotExist:
143143
raise APIUnauthorized('Member does not have access to project')
144144

145-
# We have to refetch this as it may have been catched
145+
# We have to refetch this as it may have been caught
146146
pk.user = User.objects.get(id=pk.user_id)
147147
if not pk.user.is_active:
148148
raise APIUnauthorized('Account is not active')
@@ -177,7 +177,7 @@ def project_from_api_key_and_id(api_key, project_id):
177177
except TeamMember.DoesNotExist:
178178
raise APIUnauthorized('Member does not have access to project')
179179

180-
# We have to refetch this as it may have been catched
180+
# We have to refetch this as it may have been caught
181181
pk.user = User.objects.get(id=pk.user_id)
182182
if not pk.user.is_active:
183183
raise APIUnauthorized('Account is not active')

src/sentry/interfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def format(line):
9090

9191
class Interface(object):
9292
"""
93-
An interface is a structured represntation of data, which may
93+
An interface is a structured representation of data, which may
9494
render differently than the default ``extra`` metadata in an event.
9595
"""
9696

src/sentry/manager.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __post_save(self, instance, **kwargs):
120120
# store pointers
121121
cache.set(self.__get_lookup_cache_key(**{key: getattr(instance, key)}), pk_val, self.cache_ttl) # 1 hour
122122

123-
# Ensure we dont serialize the database into the cache
123+
# Ensure we don't serialize the database into the cache
124124
db = instance._state.db
125125
instance._state.db = None
126126
# store actual object
@@ -248,7 +248,7 @@ def evaluate(self, node, qn, connection):
248248
elif engine.startswith('mysql'):
249249
sql = 'log(times_seen) * 600 + unix_timestamp(last_seen)'
250250
else:
251-
# XXX: if we cant do it atomicly let's do it the best we can
251+
# XXX: if we cant do it atomically let's do it the best we can
252252
sql = self.group.get_score()
253253

254254
return (sql, [])
@@ -438,7 +438,7 @@ def from_kwargs(self, project, **kwargs):
438438
**kwargs
439439
)
440440

441-
# Calculcate the checksum from the first highest scoring interface
441+
# Calculate the checksum from the first highest scoring interface
442442
if not checksum:
443443
checksum = get_checksum_from_event(event)
444444

@@ -534,7 +534,7 @@ def _create_group(self, event, tags=None, **kwargs):
534534
extra['message'] = message
535535

536536
if group.status == STATUS_RESOLVED or group.is_over_resolve_age():
537-
# Makin things atomic
537+
# Making things atomic
538538
is_new = bool(self.filter(
539539
id=group.id,
540540
).exclude(

src/sentry/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class SentryMiddleware(object):
88
def process_request(self, request):
9-
# HACK: bootstrap some env crud if we havent yet
9+
# HACK: bootstrap some env crud if we haven't yet
1010
if not settings.URL_PREFIX:
1111
settings.URL_PREFIX = request.build_absolute_uri(reverse('sentry')).strip('/')
1212

src/sentry/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ def save(self, *args, **kwargs):
221221
super(Project, self).save(*args, **kwargs)
222222

223223
def delete(self):
224-
# This hadles cascades properly
225-
# TODO: this doesnt clean up the index
224+
# This handles cascades properly
225+
# TODO: this doesn't clean up the index
226226
for model in (Event, Group, FilterValue, GroupTag, GroupCountByMinute):
227227
model.objects.filter(project=self).delete()
228228
super(Project, self).delete()
@@ -723,7 +723,7 @@ class GroupBookmark(Model):
723723
"""
724724
project = models.ForeignKey(Project, related_name="bookmark_set") # denormalized
725725
group = models.ForeignKey(Group, related_name="bookmark_set")
726-
# namespace related_name on User since we dont own the model
726+
# namespace related_name on User since we don't own the model
727727
user = models.ForeignKey(User, related_name="sentry_bookmark_set")
728728

729729
objects = BaseManager()

0 commit comments

Comments
 (0)