comparison fetch_command.py @ 102:3d56b8c53979

fetch_command: remove dead code
author Patrick Mezard <pmezard@gmail.com>
date Tue, 25 Nov 2008 09:18:26 -0600
parents a3b717e4abf5
children f9d0154e4d11
comparison
equal deleted inserted replaced
101:a3b717e4abf5 102:3d56b8c53979
392 fi = open(f, 'w') 392 fi = open(f, 'w')
393 fi.write(data) 393 fi.write(data)
394 fi.close() 394 fi.close()
395 else: 395 else:
396 open(f, 'w').close() 396 open(f, 'w').close()
397 if f.startswith(our_tempdir):
398 f = f[len(our_tempdir)+1:]
399 os.chdir(old_cwd) 397 os.chdir(old_cwd)
400 if d2.strip() and len(re.findall('\n[-+]', d2.strip())) > 0: 398 if d2.strip() and len(re.findall('\n[-+]', d2.strip())) > 0:
401 old_cwd = os.getcwd() 399 old_cwd = os.getcwd()
402 os.chdir(our_tempdir) 400 os.chdir(our_tempdir)
403 changed = {} 401 changed = {}