bin/q3562

Thu, 28 Feb 2008 18:15:59 +0100

author
David Douard <david.douard@logilab.fr>
date
Thu, 28 Feb 2008 18:15:59 +0100
changeset 59
d8bd4a931516
parent 43
a250bd7a2022
permissions
-rwxr-xr-x

Make it possible to disable the cache mecanism temporarly and make AbstractCommand derivated classes not considered as commands if their name starts with '_'.

#!/usr/bin/python

import sys, os
try:
    from pygpibtoolkit.HP3562A.q3562A import main
except ImportError:
    sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
    from pygpibtoolkit.HP3562A.q3562A import main
main()

mercurial