Closed unixbhaskar closed 13 years ago
Which version of Python are you using?
2.6 on RHEL 5
I can not reproduce this. Many people have reported this is working fine with Python 2.6.
Maybe you've configured your Python instance to run with some kind of very strict checking?
[bhaskarc@sorry1 code]$ sudo python arbitrator.py Traceback (most recent call last): File "arbitrator.py", line 23, in ? from fsmonitor import * File "/opt/fileconveyor/code/fsmonitor.py", line 54, in ? from pathscanner import PathScanner File "/opt/fileconveyor/code/pathscanner.py", line 56 rows.append((path, filename, mtime if not is_dir else -1)) ^ SyntaxError: invalid syntax
please throw some light.
Cheers! Bhaskar