--- a/bin/dump_datablock Mon Feb 04 19:49:48 2008 +0100 +++ b/bin/dump_datablock Tue Feb 05 18:59:29 2008 +0100 @@ -1,4 +1,9 @@ #!/usr/bin/python -from HP3562A.dump_datablock import main +import sys, os +try: + from pygpibtoolkit.HP3562A.dump_datablock import main +except ImportError: + sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")) + from pygpibtoolkit.HP3562A.dump_datablock import main main()