Searched refs:sys (Results 1 - 25 of 35) sorted by relevance

12

/ec/ECSpooler/lib/util/
H A Dservicecontrol.py14 import sys namespace
69 print >> sys.stderr, e
71 #sys.exit(2)
74 print >> sys.stderr, ("ERROR - %s:%s" %
75 (sys.exc_info()[0], e))
76 #sys.exit(99)
81 print >> sys.stdout, "Starting %s at %s" % (self.name, time.asctime())
82 print >> sys.stdout, " Hostname: %s" % self.host
83 print >> sys.stdout, " Port: %i" % self.port
91 if sys
[all...]
H A Dsettings.py9 import os, sys namespace
58 hdlr = logging.StreamHandler(sys.stdout)
H A DSpoolerQueue.py9 import sys namespace
47 msg = '%s: %s' % (sys.exc_info()[0], e)
58 msg = '%s: %s' % (sys.exc_info()[0], e)
/ec/ECSpooler/tests/
H A Druntests14 import sys namespace
19 sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir))
29 print >> sys.stdout, 'Usage: runtests TESTFILE.py'
35 opts, args = getopt.getopt(sys.argv[1:], '')
39 sys.exit(2)
43 sys.exit(2)
58 print >> sys.stdout, m.__name__
62 print >> sys.stdout, m.__name__, ': no test suite found.'
H A Drunalltests14 import sys namespace
19 sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir))
39 print >> sys.stdout, m.__name__
H A DtestScheme.py7 import os, sys namespace
11 sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
/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))
76 print >> sys.stderr, "Cannot change uid:", e
82 print >> sys.stderr, "No such backend: '%s'" % self.name
85 print >> sys.stderr, "No such backend: '%s'. Did you mean '%s'?" \
94 print >> sys.stdout, "Starting %s backend at %s" % (self.name, time.asctime())
95 print >> sys.stdout, " Hostname: %s" % self.host
96 print >> sys.stdout, " Port: %i" % p
98 print >> sys.stdout, "Registering to ECSpooler at '%s:%s'..." % (self.spooler_host, self.spooler_port)
101 if sys
[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))
41 print >> sys.stdout, ("%s. %s" % (e, "SOAP Wrapper for ECSpooler will not be available."))
83 print >> sys.stderr, err_msg
103 print >> sys.stderr, ("os.kill and/or signal.SIGTERM not defined."
158 print >> sys.stdout, ("os.kill and/or signal.SIGTERM not "
171 opts, args = getopt(sys.argv[1:], "P:u:p:h",
176 sys.exit(2)
180 sys.exit(2)
191 sys
[all...]
/ec/ECAssignmentBox/Products/ECAssignmentBox/
H A D__init__.py19 import sys namespace
47 sys.modules['Products.ECAssignmentBox.ECFolder'] = content.ECFolder
48 sys.modules['Products.ECAssignmentBox.ECAssignmentBox'] = content.ECAssignmentBox
49 sys.modules['Products.ECAssignmentBox.ECAssignment'] = content.ECAssignment
50 sys.modules['Products.ECAssignmentBox.ECABTool'] = tool.ECABTool
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/
H A D__init__.py21 import sys namespace
50 sys.modules['Products.ECAutoAssessmentBox.ECAutoAssessmentBox'] = content.ECAutoAssessmentBox
51 sys.modules['Products.ECAutoAssessmentBox.ECAutoAssignment'] = content.ECAutoAssignment
52 sys.modules['Products.ECAutoAssessmentBox.ECSpoolerTool'] = tool.ECSpoolerTool
/ec/ECQuiz/Products/ECQuiz/
H A Dl2.py24 import re, sys, os#, pickle namespace
392 def print_help(out=sys.stdout):
395 % os.path.split(sys.argv[0])[-1]
449 print >> sys.stderr, "Error: %s" % str(goe)
450 print_help(sys.stderr)
451 sys.exit(1)
468 options, args = getopt(sys.argv[1:], o_short, o_long)
481 sys.exit(0)
489 string = sys.stdin.read()
495 sys
[all...]
H A DfindUntranslatedMessages.py24 import os, re, locale, sys namespace
78 print >> sys.stderr, 'Duplicate msgid "' + msgid \
144 srcDir = (sys.argv[1:] and sys.argv[1]) or u'.'
H A DStatistics.py186 import sys # System-specific parameters and functions. namespace
219 sys.exit(0)
/ec/ECSpooler/backends/keywords/
H A DKeywords.py10 import sys, re namespace
101 msg = 'Internal error: %s: %s' % (sys.exc_info()[0], e)
172 (sys.exc_info()[0], e)
/ec/ECSpooler/lib/
H A DProgrammingBackend.py11 #import sys, os, re, popen2, tempfile, threading, signal, traceback
12 import sys, os, subprocess, tempfile, threading, signal, traceback namespace
98 msg = 'Internal error: %s: %s' % (sys.exc_info()[0], e)
186 (sys.exc_info()[0], e)
357 if (sys.platform=="win32") or (sys.platform=="win64"):
442 (sys.exc_info()[0], e))
/ec/ECSpooler/backends/erlang/
H A DErlang.py8 import sys, os, re namespace
32 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
39 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
266 (sys.exc_info()[0], err)
320 (sys.exc_info()[0], e)
/ec/ECSpooler/backends/haskell/
H A DHaskell.py19 import sys, os, re namespace
41 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
48 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
55 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
349 (sys.exc_info()[0], e)
/ec/ECSpooler/backends/javare/
H A DJavaRE.py7 import sys, os, re namespace
350 (sys.exc_info()[0], e)
365 #print >> sys.stdout, contents
368 (sys.exc_info()[0], e)
397 (sys.exc_info()[0], e)
413 (sys.exc_info()[0], e)
/ec/ECSpooler/backends/scheme/
H A DScheme.py8 import sys, os, re namespace
31 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
38 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
198 LOG.warn('%s: %s' % (sys.exc_info()[0], e))
331 (sys.exc_info()[0], e)
/ec/ECAssignmentBox/Products/ECAssignmentBox/tool/
H A DStatistics.py186 import sys # System-specific parameters and functions. namespace
219 sys.exit(0)
/ec/ECSpooler/backends/cl/
H A DCl.py7 import sys, os, re namespace
36 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
43 # logging.warn('%s: %s' % (sys.exc_info()[0], ioe))
201 uname_lower=sys.platform.lower()
367 (sys.exc_info()[0], e)
/ec/ECSpooler/backends/python/
H A DPython.py8 import sys, os, re namespace
31 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
38 LOG.warn('%s: %s' % (sys.exc_info()[0], ioe))
42 """import sys
54 print >> sys.stdout, \"isEqual=\" + str(test(o1, o2)) + \";;expected=\" + str(o1) + \";;received=\" + str(o2)
240 (sys.exc_info()[0], e)
/ec/ECSpooler/backends/xml/
H A DXML.py21 import sys, os, re namespace
151 msg = 'Internal error: %s: %s' % (sys.exc_info()[0], e)
254 (sys.exc_info()[0], e)
306 (sys.exc_info()[0], e)
381 (sys.exc_info()[0], e)
/ec/ECSpooler/backends/haskellext/
H A DHaskellExt.py15 import sys, os, re namespace
228 (sys.exc_info()[0], e)
/ec/ECSpooler/backends/haskellqc/
H A DHaskellQC.py21 import sys, os, re namespace
221 (sys.exc_info()[0], e)

Completed in 40 milliseconds

12