/[ascend]/trunk/tools/dtar/dtar
ViewVC logotype

Diff of /trunk/tools/dtar/dtar

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2125 by jpye, Thu Dec 3 02:22:09 2009 UTC revision 2126 by jpye, Thu Dec 17 01:05:08 2009 UTC
# Line 185  if debianname != head: Line 185  if debianname != head:
185    
186  # check for build-time dependencies  # check for build-time dependencies
187    
188  dependencies = ['build-essential','fakeroot']  dependencies = ['build-essential','fakeroot','debhelper']
189    
190  if 'Build-Depends' in control:  if 'Build-Depends' in control:
191      #print "Build-Depends:",control['Build-Depends']      #print "Build-Depends:",control['Build-Depends']
# Line 324  for _f in resultfiles: Line 324  for _f in resultfiles:
324    
325      if not overwrite and os.path.exists(_p2):      if not overwrite and os.path.exists(_p2):
326          failedtomovefiles.append(_f)          failedtomovefiles.append(_f)
327      os.rename(_f, _p2)      shutil.move(_f, _p2)
328    
329  if failedtomovefiles:  if failedtomovefiles:
330      raise RuntimeError("Failed to move the following files (check --nooverwrite): %s",failedtomovefiles)      raise RuntimeError("Failed to move the following files (check --nooverwrite): %s",failedtomovefiles)

Legend:
Removed from v.2125  
changed lines
  Added in v.2126

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22