X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2FrunSession.py;h=f698e323d252914a436b0cbc298a2c3cbb9d49b8;hb=3091a8beac430b5b36c7606fc672dcf869a8683d;hp=92c6b4705936450753b0c0c2375419ef5687f477;hpb=75a38dd5aa46aef6300c3e8b6eaced236c0d2f4e;p=modules%2Fkernel.git diff --git a/bin/runSession.py b/bin/runSession.py index 92c6b4705..f698e323d 100644 --- a/bin/runSession.py +++ b/bin/runSession.py @@ -34,7 +34,9 @@ class MyParser(OptionParser): return self.epilog # -def configureSession(args=[]): +def configureSession(args=None): + if args is None: + args = [] usage = "Usage: %prog [options] [command]" epilog = """\n If the command is not given a shell is opened; else execute the given command.