[blinkx] Add extractor (Fixes #1972)

This commit is contained in:
Philipp Hagemeister 2013-12-16 13:56:13 +01:00
parent a19fd00cc4
commit d7dda16888
3 changed files with 93 additions and 0 deletions

View file

@ -1077,3 +1077,9 @@ def setproctitle(title):
libc.prctl(15, ctypes.byref(buf), 0, 0, 0)
except AttributeError:
return # Strange libc, just skip this
def remove_start(s, start):
if s.startswith(start):
return s[len(start):]
return s