1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-28 07:26:15 +01:00

fixed typo

This commit is contained in:
Pavol Rusnak 2009-05-20 16:45:27 +00:00
parent 0fa507a782
commit 3f6fa3a0b6

View File

@ -189,7 +189,7 @@ def os_path_samefile(path1, path2):
try: try:
return os.path.samefile(path1, path2) return os.path.samefile(path1, path2)
except: except:
return os.path.realpath(file1) == os.path.realpath(file2) return os.path.realpath(path1) == os.path.realpath(path2)
class File: class File:
"""represent a file, including its metadata""" """represent a file, including its metadata"""