From 545bf13e71ad8aeb41e99f4af62cb7650bbfe7c4 Mon Sep 17 00:00:00 2001 From: Aaron-DH Date: Thu, 24 Dec 2015 16:18:41 +0800 Subject: [PATCH] Modify noop module code in arch.rst Synchronize the documentation and code Change-Id: I5f6916dee6519b9ac2b86290b3e691fdc431cb23 --- doc/source/arch.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/arch.rst b/doc/source/arch.rst index 91efd35b..f2f7e01f 100644 --- a/doc/source/arch.rst +++ b/doc/source/arch.rst @@ -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