Relax python file magic regex somewhat
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 7 May 2012 12:17:45 +0000 (15:17 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 7 May 2012 12:21:47 +0000 (15:21 +0300)
commitf2f4bfe9a57ee3da4a63ae4b93d0cca444d9389e
tree94909e13c0b089018d085c173924558914f105cb
parent49e398278fd75996909e99c0cec7667b0f8d55be
Relax python file magic regex somewhat

- libmagic sometimes adds trailing descriptions about encodings, line
  terminators and whatnot, we dont want to care about those (RhBug:796218)
- not all python-related strings start with [pP]ython either, sometimes
  libmagic says "a python script" or "a /usr/bin/python script" and
  whatnot, so loose the start-of-line restriction as well
fileattrs/python.attr