From 3f6fa3a0b694f3b8a575c6e8044857ed46fd1df6 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 20 May 2009 16:45:27 +0000 Subject: [PATCH] fixed typo --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 509a7505..91e7f54b 100755 --- a/osc/core.py +++ b/osc/core.py @@ -189,7 +189,7 @@ def os_path_samefile(path1, path2): try: return os.path.samefile(path1, path2) except: - return os.path.realpath(file1) == os.path.realpath(file2) + return os.path.realpath(path1) == os.path.realpath(path2) class File: """represent a file, including its metadata"""