git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/obi/bug_724_wpa_modes' into acid-burn/networking_changes
[enigma2.git]
/
lib
/
actions
/
parseactions.py
diff --git
a/lib/actions/parseactions.py
b/lib/actions/parseactions.py
index 4ab71af79aa306cc47a9953e9ea658c66798ec38..cad432a7e6f868a016db152a064411293f225e5a 100644
(file)
--- a/
lib/actions/parseactions.py
+++ b/
lib/actions/parseactions.py
@@
-65,7
+65,7
@@
def do_file(f, mode):
except:
pass
except:
pass
- raise
"action enum must be simple."
+ raise
Exception("action enum must be simple.")
counter = 0
counter = 0
@@
-82,14
+82,14
@@
def do_file(f, mode):
if counter:
if t != ",":
if counter:
if t != ",":
- raise
"no comma"
+ raise
Exception("no comma")
t = tokens.next()
if firsthit:
if mode == "include":
# hack hack hack!!
t = tokens.next()
if firsthit:
if mode == "include":
# hack hack hack!!
- print "#include <lib
" + f[2:]
+ ">"
+ print "#include <lib
/" + '/'.join(f.split('/')[-2:])
+ ">"
else:
print "\t// " + f
else:
print "\t// " + f