Changeset 1638 in tailor


Ignore:
Timestamp:
06/11/08 20:11:12 (5 years ago)
Author:
lele@…
Hash name:
20080611181112-7a6fb-91f4f41533e9e5597c885cb978ec3e63e86302b8
Message:

Move common import stmt at top level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/repository/darcs/target.py

    r1618 r1638  
    1212__docformat__ = 'reStructuredText' 
    1313 
     14from os.path import join, exists 
    1415import re 
    1516 
     
    3334    def importFirstRevision(self, source_repo, changeset, initial): 
    3435        from os import walk, sep 
    35         from os.path import join 
    3636        from vcpx.dualwd import IGNORED_METADIRS 
    3737 
     
    164164        """ 
    165165 
    166         from os.path import join, exists 
    167  
    168166        # The "_darcs/patches/pending" file is basically a patch containing 
    169167        # only the changes (hunks, adds...) not yet recorded by darcs: it does 
     
    248246        """ 
    249247 
    250         from os.path import join, exists 
    251  
    252248        metadir = join(self.repository.basedir, '_darcs') 
    253249 
     
    278274        Tweak the default settings of the repository. 
    279275        """ 
    280  
    281         from os.path import join 
    282276 
    283277        motd = open(join(self.repository.basedir, '_darcs/prefs/motd'), 'w') 
Note: See TracChangeset for help on using the changeset viewer.