This file is indexed.

/usr/lib/python2.7/dist-packages/asrun/unittest/999_clean.py is in code-aster-run 1.13.1-2.

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

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
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import unittest
import shutil
from glob   import glob

from common import tmpdir


class TestClean(unittest.TestCase):

    def test01_rm_tmpdir(self):
        ldirs = glob(os.path.splitext(tmpdir)[0] + ".*")
        for dd in ldirs:
            shutil.rmtree(dd)


if __name__ == "__main__":
    unittest.main()