diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-01-14 10:46:54 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-01-14 10:46:54 +0000 |
| commit | 6629073331fbe67edfa9f4d591c9df6e41c465a6 (patch) | |
| tree | cfea8781199058ed414e520d7a3bc5a6db732aef /lib/python/enigma_py_patcher.py | |
| parent | 855949a917ed8cf65397adc49872c99bdb2123c2 (diff) | |
| download | enigma2-6629073331fbe67edfa9f4d591c9df6e41c465a6.tar.gz enigma2-6629073331fbe67edfa9f4d591c9df6e41c465a6.zip | |
remove unneeded workaround
Diffstat (limited to 'lib/python/enigma_py_patcher.py')
| -rw-r--r-- | lib/python/enigma_py_patcher.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/python/enigma_py_patcher.py b/lib/python/enigma_py_patcher.py index 52f9d232..1d49cc6c 100644 --- a/lib/python/enigma_py_patcher.py +++ b/lib/python/enigma_py_patcher.py @@ -11,7 +11,6 @@ line=1 for str in source.readlines(): oldstr = str[:] str = str.replace('_ENUMS)', ')') - str = str.replace('_REPLACE)', ')') pos = str.find('_ENUMS') if pos != -1: @@ -22,16 +21,6 @@ for str in source.readlines(): if tmpstr.find('_enigma.') == -1: str = str[:pos]+str[pos+6:] - pos = str.find('_REPLACE') - if pos != -1: - spacepos = pos - while spacepos > 0 and str[spacepos] != ' ': - spacepos -= 1 - tmpstr = str[spacepos:pos] - if tmpstr.find('_enigma.') == -1: - str = str[:pos]+str[pos+8:] - - if oldstr != str: print "!!! Patch enigma.py line %d\n%s\n%s" %(line, oldstr[:len(oldstr)-1], str) |
