Modify noop module code in arch.rst

Synchronize the documentation and code

Change-Id: I5f6916dee6519b9ac2b86290b3e691fdc431cb23
This commit is contained in:
Aaron-DH 2015-12-24 16:18:41 +08:00
parent 50199eb15a
commit 545bf13e71
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ Example of minimal rating module (taken from the Noop module):
for service in cur_usage:
for entry in cur_usage[service]:
if 'rating' not in entry:
entry['rating'] = {'price': 0}
entry['rating'] = {'price': decimal.Decimal(0)}
return data