bin/read_state@d8bd4a931516
bin/read_state
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 40
-
1bbea188a7e5
- 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.state_decoder import main
except ImportError:
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
from pygpibtoolkit.HP3562A.state_decoder import main
main()