adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] [Waste's Edge] Compile error


From: Clément Plantier
Subject: [Adonthell-devel] [Waste's Edge] Compile error
Date: Fri, 28 Dec 2007 13:06:53 +0100
User-agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009)

When compiling Waste's Edge, I get this error :

Making all in modules
make[2]: entrant dans le répertoire «
/home/clement/adonthell/wastesedge/scripts/modules »
/usr/local/bin/adonthell -c
Listing . ...
Compiling ./player_text.py ...
  File "./player_text.py", line 1
    _("That clock seems to be late!")
    ^
SyntaxError: invalid syntax


Well the problem it's just caused by a space before the first string of
this file, so here is the patch.
Index: scripts/modules/player_text.py
===================================================================
RCS file: /sources/adonthell/wastesedge/scripts/modules/player_text.py,v
retrieving revision 1.2
diff -u -p -r1.2 player_text.py
--- scripts/modules/player_text.py      25 Oct 2004 07:06:27 -0000      1.2
+++ scripts/modules/player_text.py      28 Dec 2007 11:59:40 -0000
@@ -1,4 +1,4 @@
- _("That clock seems to be late!")
+_("That clock seems to be late!")
 _("Aw, a midget yeti, how cute!")
 _("I'd better not touch this ... What if it explodes??")
 _("Closed. We are all imprisoned here ...")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]