/ec/ECSpooler/tests/ |
H A D | runtests | 13 import os namespace 19 sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir)) 24 os.chdir(os.path.join(os.path.abspath(os.path.dirname(__file__))))
|
H A D | runalltests | 13 import os namespace 19 sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir)) 25 os.chdir(os.path.join(os.path.abspath(os.path.dirname(__file__)))) 30 tests = os [all...] |
H A D | testScheme.py | 7 import os, sys namespace 11 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
|
H A D | testUtil.py | 8 import os namespace 32 __pid_filename = os.path.join(tempfile.gettempdir(), 'test_utils.pid') 42 os.remove(self.__pid_filename) 53 self.assertTrue(os.path.exists(self.__pid_filename)) 68 self.assertEqual(pid, os.getpid()) 74 self.assertTrue(os.path.exists(self.__pid_filename)) 76 self.assertFalse(os.path.exists(self.__pid_filename))
|
/ec/ECAssignmentBox/ |
H A D | setup.py | 8 import os namespace 12 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
|
/ec/ECAutoAssessmentBox/ |
H A D | setup.py | 5 import os namespace 9 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
|
/ec/ECLecture/ |
H A D | setup.py | 6 import os namespace 10 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
|
/ec/ECQuiz/ |
H A D | setup.py | 5 import os namespace 9 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
|
/ec/ECLecture/Products/ECLecture/ |
H A D | __init__.py | 12 import os namespace
|
/ec/ECQuiz/Products/ECQuiz/ |
H A D | __init__.py | 34 import os.path namespace
|
H A D | config.py | 26 import os namespace 35 ret = os.listdir(os.path.dirname(__file__)+'/'+ relativeDir)
|
H A D | findUntranslatedMessages.py | 24 import os, re, locale, sys namespace 57 ext = os.path.splitext(fn)[1].lower() 60 fn = os.path.join(dirname, fn) 97 os.path.walk( srcDir, filterFunction, fileNamesList )
|
/ec/ECSpooler/lib/ |
H A D | SecureXMLRPCServer.py | 13 import os namespace 15 __CERT_PATH = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..', 'certs') 17 KEYFILE = os.path.join(__CERT_PATH, 'key.pem') 18 CERTFILE = os.path.join(__CERT_PATH, 'cert.pem')
|
H A D | Service.py | 8 import os namespace 108 if os.name == 'nt': 144 os._exit(0)
|
/ec/ECSpooler/lib/util/ |
H A D | SpoolerQueue.py | 8 import os namespace 31 if not os.path.exists(os.path.dirname(filename)): 32 os.makedirs(os.path.dirname(filename)) 34 if os.path.exists(filename): 147 # q = SpoolerQueue(os.path.join(os.path.dirname(__file__),
|
H A D | settings.py | 9 import os, sys namespace 53 if (not os.path.exists(LOG_DIR) and not os.path.isdir(LOG_DIR)): 54 os.makedirs(LOG_DIR) 55 path = os.path.join(LOG_DIR, filename + '.log')
|
H A D | servicecontrol.py | 13 import os namespace 92 cpid = os.fork1() 94 cpid = os.fork() 96 print >> sys.stdout, 'os.fork not defined - skipping it.'
|
H A D | utils.py | 12 import os namespace 41 return os.path.join(tempfile.gettempdir(), name + suffix) 53 d = os.path.dirname(filename) 55 if not os.path.exists(d): 56 os.makedirs(d) 75 for f in os.listdir(path): 77 file_or_dir = os.path.join(path, f) 79 if os.path.isdir(file_or_dir) and not os.path.islink(file_or_dir): 87 os [all...] |
/ec/ECAssignmentBox/Products/ECAssignmentBox/ |
H A D | __init__.py | 20 import os namespace
|
/ec/ECReviewBox/ |
H A D | __init__.py | 7 import os, os.path namespace
|
/ec/ECSpooler/bin/ |
H A D | backendctl | 17 import os, sys, time, socket, xmlrpclib namespace 22 sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir)) 74 os.setuid(settings.NOBODY_UID) 75 except os.error, e: 102 cpid = os.fork1() 104 cpid = os.fork() 106 print >> sys.stdout, 'os [all...] |
H A D | spoolerctl | 15 import os, sys, time, signal, xmlrpclib namespace 25 sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir)) 94 os.kill to that process. 101 os.kill(pid, signal.SIGTERM) 103 print >> sys.stderr, ("os.kill and/or signal.SIGTERM not defined." 156 os.kill(state.pid, signal.SIGTERM) 158 print >> sys.stdout, ("os [all...] |
/ec/ECSpooler/ |
H A D | config.py | 8 import os namespace 21 DATA_DIR = os.path.join(os.path.dirname(__file__), 'var') 23 JOB_QUEUE_STORAGE = os.path.join(DATA_DIR, 'data.fs') 24 RESULT_QUEUE_STORAGE = os.path.join(DATA_DIR, 'result.fs') 25 RETRY_QUEUE_STORAGE = os.path.join(DATA_DIR, 'retry.fs') 27 ETC_DIR = os.path.join(os.path.dirname(__file__), 'etc') 28 PASSWD_FILE = os.path.join( ETC_DIR, 'passwd') 32 LOG_DIR = os [all...] |
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/ |
H A D | __init__.py | 22 import os namespace 23 import os.path namespace
|
/ec/ECSpooler/backends/haskellext/ |
H A D | HaskellExt.py | 15 import sys, os, re namespace 215 #log.debug('xxx: %s' % os.path.dirname(wrapperModule['file'])) 219 os.path.dirname(wrapperModule['file']), 220 os.path.basename(wrapperModule['file']))
|