Changeset 48 in tailor


Ignore:
Timestamp:
07/05/04 16:45:50 (9 years ago)
Author:
lele@…
Hash name:
20040705144550-97f81-8327156dc8d45fe60aba83c53bb261c9a3109005
Message:

Accept also the name of the target directory, without module subdirectory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tailor.py

    r46 r48  
    216216         
    217217        proj = args.pop(0) 
    218         root = abspath(proj)         
    219         basedir, module = split(root) 
     218        root = abspath(proj) 
     219 
     220        if exists(join(root, STATUS_FILENAME)): 
     221            basedir = root 
     222        else: 
     223            basedir, module = split(root) 
    220224         
    221225        if options.bootstrap: 
Note: See TracChangeset for help on using the changeset viewer.