mirror of
https://github.com/lilydjwg/archrepo2.git
synced 2025-03-10 12:02:43 +00:00
typo in same_existent_file
This commit is contained in:
parent
eaf9afc912
commit
a6d93e339c
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ _pkgfile_pat = re.compile(r'(?:^|/).+-[^-]+-\d+-(?:x86_64|i686|any)\.pkg\.tar\.x
|
|||
|
||||
def same_existent_file(a, b):
|
||||
try:
|
||||
return os.path.samefile(path, newpath)
|
||||
return os.path.samefile(a, b)
|
||||
except OSError:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue