--- SAWsconf.py 2018-11-21 07:38:41.901082793 +0100 +++ - 2018-11-21 07:39:07.247628468 +0100 @@ -1,9 +1,9 @@ try: - import argparse + import argparse except: - import os - print('Installation of Python does not have argparse. Run "sudo easy_intall argparse" then try configure again') - os._exit(1) + import os + print('Installation of Python does not have argparse. Run "sudo easy_intall argparse" then try configure again') + os._exit(1) def mkdir_p(path): import os @@ -77,7 +77,7 @@ args = [] for i in sys.argv: if i.find('=') > -1 and not i[0] == '-': i = '--'+i - args.extend([i]) + args.extend([i]) sys.argv = args parser = argparse.ArgumentParser(description='Configure Scientific Application Web server (SAWs)')