CuraApplication: Making it one line again

Don't know why the pylint marker is here..
This commit is contained in:
Thomas Karl Pietrowski 2017-12-09 01:21:58 +01:00
parent 1a9c152041
commit 61b6831e62

View File

@ -630,8 +630,7 @@ class CuraApplication(QtApplication):
@classmethod @classmethod
def preStartUp(cls): def preStartUp(cls):
# Peek the arguments and look for the 'single-instance' flag. # Peek the arguments and look for the 'single-instance' flag.
parser = argparse.ArgumentParser(prog = "cura", parser = argparse.ArgumentParser(prog = "cura", add_help = False) # pylint: disable=bad-whitespace
add_help = False) # pylint: disable=bad-whitespace
CuraApplication.addCommandLineOptions(parser) CuraApplication.addCommandLineOptions(parser)
# Important: It is important to keep this line here! # Important: It is important to keep this line here!
# In Uranium we allow to pass unknown arguments to the final executable or script. # In Uranium we allow to pass unknown arguments to the final executable or script.