Fix: missing () to call tools.check_schema in yams-view [ closes #81261 ]

authorAnthony Truchet <anthony.truchet@logilab.fr>
changeset45e34f45e21a
branchstable
phasepublic
hiddenno
parent revision#4b2f4e5ad2a0 Stop setting/using the __hashmode__ attribute on schemas
child revision#09ab68b152e4 oldstable is 0.33, #0bbab1286d05 stable is 0.34, #35284d39b5fd backport stable
files modified by this revision
bin/yams-view
# HG changeset patch
# User Anthony Truchet <anthony.truchet@logilab.fr>
# Date 1319457341 -7200
# Mon Oct 24 13:55:41 2011 +0200
# Branch stable
# Node ID 45e34f45e21a25d85de6f3729df1f555515598bf
# Parent 4b2f4e5ad2a0ad689bd9e39ca229088c8090c8e9
Fix: missing () to call tools.check_schema in yams-view [ closes #81261 ]

diff --git a/bin/yams-view b/bin/yams-view
@@ -1,4 +1,4 @@
1  #!/usr/bin/python
2  import sys
3  from yams.tools import check_schema
4 -sys.exit(check_schema)
5 +sys.exit(check_schema())