Searched defs:os (Results 1 - 25 of 50) sorted by relevance

12

/ec/ECSpooler/tests/
H A Druntests13 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 Drunalltests13 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 DtestScheme.py7 import os, sys namespace
11 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
H A DtestUtil.py8 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 Dsetup.py8 import os namespace
12 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
/ec/ECAutoAssessmentBox/
H A Dsetup.py5 import os namespace
9 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
/ec/ECLecture/
H A Dsetup.py6 import os namespace
10 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
/ec/ECQuiz/
H A Dsetup.py5 import os namespace
9 return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
/ec/ECLecture/Products/ECLecture/
H A D__init__.py12 import os namespace
/ec/ECQuiz/Products/ECQuiz/
H A D__init__.py34 import os.path namespace
H A Dconfig.py26 import os namespace
35 ret = os.listdir(os.path.dirname(__file__)+'/'+ relativeDir)
H A DfindUntranslatedMessages.py24 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 DSecureXMLRPCServer.py13 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 DService.py8 import os namespace
108 if os.name == 'nt':
144 os._exit(0)
/ec/ECSpooler/lib/util/
H A DSpoolerQueue.py8 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 Dsettings.py9 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 Dservicecontrol.py13 import os namespace
92 cpid = os.fork1()
94 cpid = os.fork()
96 print >> sys.stdout, 'os.fork not defined - skipping it.'
H A Dutils.py12 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__.py20 import os namespace
/ec/ECReviewBox/
H A D__init__.py7 import os, os.path namespace
/ec/ECSpooler/bin/
H A Dbackendctl17 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 Dspoolerctl15 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 Dconfig.py8 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__.py22 import os namespace
23 import os.path namespace
/ec/ECSpooler/backends/haskellext/
H A DHaskellExt.py15 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']))

Completed in 24 milliseconds

12