Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] fix typos #3167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ example by triggering connect in a bg thread.

### Changed

- As of January 2015, Yowsup is GPLv3 licensed (previouly was MIT)
- As of January 2015, Yowsup is GPLv3 licensed (previously was MIT)
- Fixed broadcast
- Fixed registration no_routes error
- Updated registration token
Expand All @@ -382,7 +382,7 @@ example by triggering connect in a bg thread.
- Experimental Axolotl support (end-to-end encryption)
- Upload and send images
- Initial support for groups v2
- Easy switch/ add new enviornment (S40/Android ..etc)
- Easy switch/ add new environment (S40/Android ..etc)
- _sendIq in YowProtocolLayer and YowInterfaceLayer with callbacks for Iq result and error
- new send and exit demo
- E2E encryption in yowsup and echo client demos
Expand Down
2 changes: 1 addition & 1 deletion yowsup-cli
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class YowArgParser(argparse.ArgumentParser):
'--config-phone', '--phone',
action="store",
help="Your full phone number including the country code you defined in 'cc',"
" without preceeding '+' or '00'"
" without preceding '+' or '00'"
)
config_group.add_argument(
'--config-cc', '--cc',
Expand Down
2 changes: 1 addition & 1 deletion yowsup/demos/sendclient/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self):
def onSuccess(self, successProtocolEntity):
self.lock.acquire()
for target in self.getProp(self.__class__.PROP_MESSAGES, []):
#getProp() is trying to retreive the list of (jid, message) tuples, if none exist, use the default []
#getProp() is trying to retrieve the list of (jid, message) tuples, if none exist, use the default []
phone, message = target
messageEntity = TextMessageProtocolEntity(message, to = Jid.normalize(phone))
#append the id of message to ackQueue list
Expand Down
2 changes: 1 addition & 1 deletion yowsup/layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def assert_emitEvent(self, event):
try:
self.assertEqual(event, self.upperEventSink.pop())
except IndexError:
raise AssertionError("Event '%s' was not emited through this layer" % (event.getName()))
raise AssertionError("Event '%s' was not emitted through this layer" % (event.getName()))

def assert_broadcastEvent(self, event):
self.broadcastEvent(event)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, encEntities, _type, messageAttributes):

def setEncEntities(self, encEntities = None):
assert type(encEntities) is list and len(encEntities) \
, "Must have at least a list of minumum 1 enc entity"
, "Must have at least a list of minimum 1 enc entity"
self.encEntities = encEntities

def getEnc(self, encType):
Expand Down
2 changes: 1 addition & 1 deletion yowsup/layers/protocol_media/mediauploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ def run(self):
self.errorCallback(sourcePath, self.jid, uploadUrl)

except:
logger.exception("Error occured at transfer %s" % sys.exc_info()[1])
logger.exception("Error occurred at transfer %s" % sys.exc_info()[1])
if self.errorCallback:
self.errorCallback(sourcePath, self.jid, uploadUrl)
2 changes: 1 addition & 1 deletion yowsup/layers/protocol_messages/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def sendMessageEntity(self, entity):
if entity.getType() == "text":
self.entityToLower(entity)

###recieved node handlers handlers
###received node handlers handlers
def recvMessageStanza(self, node):
protoNode = node.getChild("proto")

Expand Down