Analyse following RPM build log snippet. Describe contents accurately, without speculation or suggestions for resolution.            
Your analysis must be as concise as possible, while keeping relevant information intact.
Snippet: 
  File "/usr/lib/python2.7/site-packages/leapp/utils/lock.py", line 77
    return os.access(f'/proc/{old_pid}/stat', os.F_OK)
                                           ^
SyntaxError: invalid syntax
This error is about the syntax error in code for Python2.