Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
tmt.EclipseProject.__init__(
self,
tmt.projectName(),
description=DESCRIPTION,
main='net.gnehzr.tnoodle.scrambles.Main')
def __init__(self, *args, **kwargs):
tmt.EclipseProject.__init__(
self,
tmt.projectName(),
description="A basic, extensible webserver",
main='net.gnehzr.tnoodle.server.TNoodleServer',
argv=[ '--nobrowser', '--disable-caching', '--consoleLevel=INFO' ])
# It is important that when we iterate through the plugins
# in topological sorted order. This way if B uses A, B can clobber
# A's settings.
self.plugins = OrderedDict()
def __init__(self):
tmt.EclipseProject.__init__(
self,
tmt.projectName(),
description=DESCRIPTION)
def __init__(self, *args, **kwargs):
tmt.EclipseProject.__init__(self, *args, **kwargs)
tmt.WinstoneServer = self
self.main = "net.gnehzr.tnoodle.server.TNoodleServer"
self.argv = [ '--nobrowser', '--consoleLevel=INFO' ]
# Winstone does all of these things =(.
self.ignoredWarnings += [ 'unchecked' ]
self.ignoredWarnings += [ 'deprecation' ]
self.ignoredWarnings += [ 'serial' ]
self.ignoredWarnings += [ 'dep-ann' ]
self.ignoredWarnings += [ 'rawtypes' ]
# It is important that when we iterate through the plugins
# in topological sorted order. This way if B uses A, B can clobber
# A's settings.
self.plugins = OrderedDict()