1 # vi: encoding=utf-8 ts=8 sts=4 sw=4 et
9 fullpath = config.ftp_dir + path
10 return os.path.exists(fullpath)
13 if not fileexists(dir):
14 print >>sys.stderr, 'ERR: ' + config.value['ftp_dir']+'/' + dir + " does not exist"
17 if 'HOME' in os.environ:
18 ftpadmdir = os.environ['HOME'] + '/pld-ftp-admin'
22 # noarchcachedir is dir where noarch files contents are stored for AI
23 # XXX: file reference where the AI resides
24 noarchcachedir = ftpadmdir + '/var/noarch-cache/'
26 tmpdir = ftpadmdir + '/var/tmp/'