Switch to side-by-side view
--- a/scripts/purge_project.py +++ b/scripts/purge_project.py @@ -24,7 +24,7 @@ if project is None: log.fatal('Project %s not found', pname) return 2 - if sys.argv[2] == 'test': + if len(sys.argv) == 3: log.info('Test mode, not purging project') else: purge_project(project)