Lines 1962-1968
class gpkg:
Link Here
|
1962 |
|
1962 |
|
1963 |
try: |
1963 |
try: |
1964 |
file_size = os.path.getsize(f) |
1964 |
file_size = os.path.getsize(f) |
1965 |
except FileNotFoundError: |
1965 |
except (FileNotFoundError, PermissionError): |
1966 |
# Ignore file not found if symlink to non-existing file |
1966 |
# Ignore file not found if symlink to non-existing file |
1967 |
if os.path.islink(f): |
1967 |
if os.path.islink(f): |
1968 |
continue |
1968 |
continue |
Lines 2057-2063
class gpkg:
Link Here
|
2057 |
if os.path.isfile(path): |
2057 |
if os.path.isfile(path): |
2058 |
try: |
2058 |
try: |
2059 |
file_size = os.path.getsize(path) |
2059 |
file_size = os.path.getsize(path) |
2060 |
except FileNotFoundError: |
2060 |
except (FileNotFoundError, PermissionError): |
2061 |
# Ignore file not found if symlink to non-existing file |
2061 |
# Ignore file not found if symlink to non-existing file |
2062 |
if os.path.islink(path): |
2062 |
if os.path.islink(path): |
2063 |
continue |
2063 |
continue |