Searched refs:isdir (Results 1 – 25 of 138) sorted by relevance
123456
34 original_isdir = os.path.isdir36 os.path.isdir = original_isdir44 def isdir(path): function46 os.path.isdir = isdir77 original_isdir = os.path.isdir79 os.path.isdir = original_isdir86 os.path.isdir = lambda path: True137 original_isdir = os.path.isdir157 os.path.isdir = lambda path: True160 os.path.isdir = original_isdir[all …]
44 if os.path.isdir(name) or name == '':52 while head and tail and not os.path.isdir(head):74 if not (exc.errno == errno.EEXIST and os.path.isdir(head)):126 if not dry_run and not os.path.isdir(src):155 elif os.path.isdir(src_name):172 if os.path.isdir(real_f) and not os.path.islink(real_f):
111 if os.path.isdir(dst):172 from os.path import exists, isfile, isdir, basename, dirname184 if isdir(dst):191 if not isdir(dirname(dst)):
49 if not os.path.isdir(fullname):54 os.path.isdir(fullname) and \198 if len(args) != 1 and not os.path.isdir(args[0]):211 if os.path.isdir(arg):
117 if os.path.isdir(dst):128 if os.path.isdir(dst):188 elif os.path.isdir(srcname):283 if os.path.isdir(dst):296 if os.path.isdir(src):
49 if not os.path.isdir(fullname):54 os.path.isdir(fullname) and \185 if len(args) != 1 and not os.path.isdir(args[0]):198 if os.path.isdir(arg):
135 if os.path.isdir(dir):280 if ENABLE_USER_SITE and os.path.isdir(user_site):324 if os.path.isdir(sitedir):587 "exists" if os.path.isdir(USER_BASE) else "doesn't exist")589 "exists" if os.path.isdir(USER_SITE) else "doesn't exist")
114 if os.path.isdir(dst):125 if os.path.isdir(dst):185 elif os.path.isdir(srcname):279 if os.path.isdir(dst):292 if os.path.isdir(src):
40 if os.path.isdir(os.path.join(head, list[i])):
20 def isdir(path): function21 return os.path.isdir(LongFilePath(path))
34 if os.path.isdir(target) and not os.path.islink(target):38 elif not os.path.isdir(self.install_dir):
30 if not os.path.isdir(oldtree):63 if os.path.isdir(oldname) and \
51 if os.path.isdir(filename):79 if os.path.normcase(fn).endswith(".py") or os.path.isdir(fn):
65 if not os.path.isdir(cvsdir):72 if not os.path.isdir(slave):95 if os.path.isdir(mastername) and not os.path.islink(mastername):
8 if os.path.isdir(filename):
9 if os.path.isdir(filename):
53 if os.path.isdir(arg):80 elif os.path.isdir(fullname):
66 if os.path.isdir(file) and not os.path.islink(file):72 if ((os.path.isdir(fullname) and
38 if os.path.isdir('.hg'):41 elif os.path.isdir('.svn'):
44 if os.path.isdir(arg):71 elif os.path.isdir(fullname):
15 if os.path.isdir(arg):40 elif os.path.isdir(full):
60 files = filter(os.path.isdir, files)63 def isdir(self, name): member in DirSupport64 return os.path.isdir(name)
27 elif os.path.isdir(path):46 self.assertTrue(os.path.isdir(inc_dir), inc_dir)
15 if p and not os.path.isdir(p):
47 if os.path.isdir(arg):74 elif os.path.isdir(fullname):