From aa448c56852952b8f766df0c417dd4cf0ab395b7 Mon Sep 17 00:00:00 2001 From: "Silas S. Brown" <ssb22@cam.ac.uk> Date: Thu, 19 Nov 2009 09:33:19 +0000 Subject: [PATCH] Gradint update git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/gradint@445 29193198-4895-4776-b068-10539e920549 --- gradint-build/Makefile | 2 +- gradint-build/src/system.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gradint-build/Makefile b/gradint-build/Makefile index 1ab5f07..45dd9f1 100644 --- a/gradint-build/Makefile +++ b/gradint-build/Makefile @@ -22,7 +22,7 @@ Extra_Data=partials *_disabled [^g]*.exe # Unix_To_Dos=unix2dos -k -o -q # (keep date, run quietly) Unix_To_Dos=unix2dos # (-k -o -q are not recognised on all systems) -All_Versions=gradint.exe gradint.tbz gradint.bgz gradint.zip gradint-build.bgz gradintcab.zip gradint-S60.zip +All_Versions=gradint-build.bgz gradint.exe gradint.tbz gradint.bgz gradint.zip gradintcab.zip gradint-S60.zip # dropping gradint-noGUI.exe and GUI.exe for now - probably don't need that separation anymore SHELL=/bin/bash diff --git a/gradint-build/src/system.py b/gradint-build/src/system.py index 31faf74..7a59fe3 100644 --- a/gradint-build/src/system.py +++ b/gradint-build/src/system.py @@ -101,8 +101,10 @@ dotwav = extsep+"wav" ; dotmp3 = extsep+"mp3" ; dottxt = extsep+"txt" cwd_addSep = os.sep if os.getcwd()[-1]==os.sep: cwd_addSep = "" -def list2set(l): - d = {} # (dictionary rather than set for max backward-compatibility) +try: list2set = set +except NameError: + def list2set(l): + d = {} for i in l: d[i]=True return d -- GitLab