r96272 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r96271
|
r96272
|
r96273
>
Date:
08:24, 5 September 2011
Author:
ariel
Status:
deferred
Tags:
Comment:
check actual location of file being linked to before we claim it doesn't exist, rather than some buggy one
Modified paths:
/branches/ariel/xmldumps-backup/worker.py
(modified) (
history
)
Diff
[
purge
]
Index: branches/ariel/xmldumps-backup/worker.py
—
—
@@ -1831,7 +1831,7 @@
1832
1832
link = os.path.join(latestDir,f)
1833
1833
if os.path.islink(link):
1834
1834
realfile = os.readlink(link)
1835
- if not exists(realfile):
1835
+ if not exists(os.path.join(latestDir,realfile)):
1836
1836
os.remove(link)
1837
1837
1838
1838
class Feeds(object):
Status & tagging log
22:08, 19 September 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r96272
[
removed:
new
added:
deferred]