~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/ostools.py

  • Committer: Sidnei da Silva
  • Date: 2009-07-04 02:30:35 UTC
  • mto: (4531.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4532.
  • Revision ID: sidnei.da.silva@canonical.com-20090704023035-2cg26fc03mrn2m1y
- Fix a NameError

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            print "Usage:  ostools.py copytodir FILES... DIR"
48
48
            return 1
49
49
 
50
 
        retcode = makedir(argv.pop())
 
50
        todir = argv.pop()
 
51
        retcode = makedir(todir)
51
52
        if retcode:
52
53
            return retcode
53
54
 
67
68
            print "Usage:  ostools.py copytree FILES... DIR"
68
69
            return 1
69
70
 
70
 
        retcode = makedir(argv.pop())
 
71
        todir = argv.pop()
 
72
        retcode = makedir(todir)
71
73
        if retcode:
72
74
            return retcode
73
75