MCPcopy Create free account
hub / github.com/Syncplay/syncplay / getConfiguration

Method getConfiguration

syncplay/server.py:893–898  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

891
892class ConfigurationGetter(object):
893 def getConfiguration(self):
894 self._prepareArgParser()
895 args = self._argparser.parse_args()
896 if args.port is None:
897 args.port = constants.DEFAULT_PORT
898 return args
899
900 def _prepareArgParser(self):
901 self._argparser = argparse.ArgumentParser(

Callers 2

mainFunction · 0.95
runMethod · 0.45

Calls 1

_prepareArgParserMethod · 0.95

Tested by

no test coverage detected