Lines 4352-4360
Link Here
|
4352 |
except OSError: |
4352 |
except OSError: |
4353 |
continue |
4353 |
continue |
4354 |
if stat.S_ISDIR(mymode): |
4354 |
if stat.S_ISDIR(mymode): |
4355 |
mycommand = "cd '%s'; find . -iname '._cfg????_*'" % x |
4355 |
mycommand = "find '%s' -iname '._cfg????_*'" % x |
4356 |
else: |
4356 |
else: |
4357 |
mycommand = "cd '%s'; find . -maxdepth 1 -iname '._cfg????_%s'" % \ |
4357 |
mycommand = "find '%s' -maxdepth 1 -iname '._cfg????_%s'" % \ |
4358 |
os.path.split(x.rstrip(os.path.sep)) |
4358 |
os.path.split(x.rstrip(os.path.sep)) |
4359 |
a = commands.getstatusoutput(mycommand + \ |
4359 |
a = commands.getstatusoutput(mycommand + \ |
4360 |
" ! -iname '.*~' ! -iname '.*.bak'") |
4360 |
" ! -iname '.*~' ! -iname '.*.bak'") |