summaryrefslogtreecommitdiff
path: root/cheetah/NameMapper.py
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@monkeypox.org>2009-11-08 15:22:10 -0800
committerR. Tyler Ballance <tyler@monkeypox.org>2009-11-16 00:04:04 -0800
commit0b8c21f8f3cc5f95f2184bf717b62f2888ed4935 (patch)
treef8450c987a3b178936b5d62a8820d1a803788c49 /cheetah/NameMapper.py
parenta23cfe7fc38af7f38a5d032592456152f635f995 (diff)
downloadpython-cheetah-0b8c21f8f3cc5f95f2184bf717b62f2888ed4935.tar.gz
Refactor raw print statements in accordance with 2to3
Removed prints in a couple places entirely, some of this code should likely use the `logging` module instead
Diffstat (limited to 'cheetah/NameMapper.py')
-rw-r--r--cheetah/NameMapper.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/cheetah/NameMapper.py b/cheetah/NameMapper.py
index 3a6322e..c70db38 100644
--- a/cheetah/NameMapper.py
+++ b/cheetah/NameMapper.py
@@ -364,13 +364,13 @@ def example():
}
b = 'this is local b'
- print valueForKey(a.dic,'subDict')
- print valueForName(a, 'dic.item')
- print valueForName(vars(), 'b')
- print valueForName(__builtins__, 'dir')()
- print valueForName(vars(), 'a.classVar')
- print valueForName(vars(), 'a.dic.func', executeCallables=True)
- print valueForName(vars(), 'a.method2.item1', executeCallables=True)
+ print(valueForKey(a.dic,'subDict'))
+ print(valueForName(a, 'dic.item'))
+ print(valueForName(vars(), 'b'))
+ print(valueForName(__builtins__, 'dir')())
+ print(valueForName(vars(), 'a.classVar'))
+ print(valueForName(vars(), 'a.dic.func', executeCallables=True))
+ print(valueForName(vars(), 'a.method2.item1', executeCallables=True))
if __name__ == '__main__':
example()