summaryrefslogtreecommitdiff
path: root/tools/sample.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-08 23:56:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-08 23:56:28 -0400
commitfccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819 (patch)
tree2704f3bfcc3c6a8b1d0ba5dc03397284f174c418 /tools/sample.py
parentf50def86c4a1203837a8f97066d9d4dfd268e0f1 (diff)
downloadledger-fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819.tar.gz
ledger-fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819.tar.bz2
ledger-fccf7e1cb5d2c0810e9b3a4c2cfb7355debbf819.zip
Fixes to the new Python/scope integration code.
Diffstat (limited to 'tools/sample.py')
-rw-r--r--tools/sample.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/sample.py b/tools/sample.py
index 2d226b12..d3bc9b18 100644
--- a/tools/sample.py
+++ b/tools/sample.py
@@ -1,5 +1,4 @@
import ledger
def get_amount(item):
- print "I found an amount:", item.amount()
- return 123
+ return item.amount() * 100