This file is indexed.

/usr/share/hhsuite/scripts/check_a3m.py is in hhsuite 3.0~beta2+dfsg-3.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env python

from a3m import A3M_Container
from a3m import A3MFormatError
import sys


def check_a3m(filename):
  a3m = A3M_Container()
  
  if(filename.lower() == "stdin"):
    fh = sys.stdin
  else:
    fh = open(filename, "r")
    
  try:
    a3m.read_a3m(fh)
  except A3MFormatError as e:
    sys.stderr.write(e)
    exit(1)
  

def main():
  filename = sys.argv[1]
  check_a3m(filename)


if __name__ == "__main__":
  main()