Skip to content

Commit 3248ab0

Browse files
committed
README.md
2 parents 44636e9 + 77773d5 commit 3248ab0

File tree

6 files changed

+21
-17
lines changed

6 files changed

+21
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ PureMVC is a lightweight framework for creating applications based upon the clas
33

44
The unit tests are included in this repository.
55

6-
* [API Docs](http://puremvc.org/pages/docs/Python/multicore-doc)
6+
* [API Docs](http://puremvc.org/pages/docs/Python/multicore-docs)
77
* [Discussion](http://forums.puremvc.org/index.php?topic=2057)
88
* [Overview Presentation](http://puremvc.tv/#P002/)
99

1010
## Status
11-
Production - [Version 1.0](https://github.com/PureMVC/puremvc-python-multicore-framework/blob/master/VERSION)
11+
Production - [Version 1.0.1] (https://github.com/PureMVC/puremvc-python-multicore-framework/blob/master/VERSION)
1212

1313
## Screenshot
1414
![PureMVC Python MultiCore Unit Tests](http://puremvc.org/pages/images/screenshots/PureMVC-Shot-Python-MC-UnitTests.png)

VERSION

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
PureMVC MultiCore Framework for Python (Ported)
22
--------------------------------------------------------------------------
3-
Release Date: 10/25/2012
3+
Release Date: 20/02/2013
44
Platform: Python 2.5+
55
Version: 1
66
Revision: 0
7-
Minor: 0
7+
Minor: 1
88
Authors: Toby de Havilland <[email protected]>
99
Daniele Esposti <[email protected]>
1010
--------------------------------------------------------------------------
11-
1.0 - * Official PureMVC.org release
11+
1.0.1 - * Renamed 'noteType' keyword in Notification's constructor to 'type'
12+
for consistency
13+
14+
1.0.0 - * Official PureMVC.org release
15+
1216
0.3.2 - * Added unit test for non-null values in Proxy's constructor
1317
* Fixes in unit tests code to support Python 2.5
1418

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from distutils.core import setup
22

33
setup(name='PureMVC Multicore Python',
4-
version='1.0.0',
4+
version='1.0.1',
55
description='PureMVC Multicore Python Framework',
66
author='Toby de Havilland, Daniele Esposti',
77

src/puremvc/interfaces.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class INotifier(object):
2828
@see: L{INotification<puremvc.interfaces.INotification>}
2929
"""
3030

31-
def sendNotification(self, notificationName, body=None, noteType=None):
31+
def sendNotification(self, notificationName, body=None, type=None):
3232
"""
3333
Send a C{INotification}.
3434
@@ -39,7 +39,7 @@ def sendNotification(self, notificationName, body=None, noteType=None):
3939
4040
@param notificationName: the name of the notification to send
4141
@param body: the body of the notification (optional)
42-
@param noteType: the type of the notification (optional)
42+
@param type: the type of the notification (optional)
4343
"""
4444
raise NotImplementedError(self)
4545

src/puremvc/patterns/facade.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def hasMediator(self, mediatorName):
273273
"""
274274
return self.view.hasMediator(mediatorName)
275275

276-
def sendNotification(self, notificationName, body=None, noteType=None):
276+
def sendNotification(self, notificationName, body=None, type=None):
277277
"""
278278
Create and send an C{INotification}.
279279
@@ -282,9 +282,9 @@ def sendNotification(self, notificationName, body=None, noteType=None):
282282
283283
@param notificationName: the name of the notiification to send
284284
@param body: the body of the notification (optional)
285-
@param noteType: the type of the notification (optional)
285+
@param type: the type of the notification (optional)
286286
"""
287-
self.notifyObservers(puremvc.patterns.observer.Notification(notificationName, body, noteType))
287+
self.notifyObservers(puremvc.patterns.observer.Notification(notificationName, body, type))
288288

289289
def notifyObservers(self, notification):
290290
"""

src/puremvc/patterns/observer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def __init__(self, *args, **kwds):
149149
"""
150150
self.multitonKey = None
151151

152-
def sendNotification(self, notificationName, body=None, noteType=None):
152+
def sendNotification(self, notificationName, body=None, type=None):
153153
"""
154154
Create and send an C{INotification}.
155155
@@ -159,10 +159,10 @@ def sendNotification(self, notificationName, body=None, noteType=None):
159159
160160
@param notificationName: the name of the notification to send
161161
@param body: the body of the notification (optional)
162-
@param noteType: the type of the notification (optional)
162+
@param type: the type of the notification (optional)
163163
"""
164164
if self.facade:
165-
self.facade.sendNotification(notificationName, body, noteType)
165+
self.facade.sendNotification(notificationName, body, type)
166166

167167
def initializeNotifier(self, key):
168168
"""
@@ -226,13 +226,13 @@ class Notification(puremvc.interfaces.INotification):
226226
@see: L{Observer<puremvc.patterns.observer.Observer>}
227227
"""
228228

229-
def __init__(self, name, body=None, noteType=None):
229+
def __init__(self, name, body=None, type=None):
230230
"""
231231
Constructor.
232232
233233
@param name: name of the C{Notification} instance. (required)
234234
@param body: the C{Notification} body. (optional)
235-
@param noteType: the type of the C{Notification} (optional)
235+
@param type: the type of the C{Notification} (optional)
236236
"""
237237

238238
"""The name of the notification instance"""
@@ -242,7 +242,7 @@ def __init__(self, name, body=None, noteType=None):
242242
self.body = body
243243

244244
"""The type of the notification instance"""
245-
self.type = noteType
245+
self.type = type
246246

247247
def __repr__(self):
248248
"""

0 commit comments

Comments
 (0)