Skip to content

Commit e79ae1b

Browse files
committed
fixed TypeError: '>' not supported between instances of 'float' and 'TimeStampFile'
1 parent 5a050b8 commit e79ae1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ def needsUpdate(self, newestInput):
27532753
return True, "Maven package does not exist"
27542754
if not os.path.exists(self.sourcesPath):
27552755
return True, "Maven sources do not exist"
2756-
newestSource = newestInput or 0
2756+
newestSource = newestInput.timestamp if newestInput else 0
27572757
for root, _, files in os.walk(self.maven_directory):
27582758
if files:
27592759
newestSource = max(newestSource, max(mx.getmtime(os.path.join(root, f)) for f in files))

0 commit comments

Comments
 (0)