139 """ |
139 """ |
140 Private method to open a file in the application server. |
140 Private method to open a file in the application server. |
141 |
141 |
142 @param fname name of file to be opened (string) |
142 @param fname name of file to be opened (string) |
143 """ |
143 """ |
144 cmd = "%s%s\n" % (SAOpenFile, Utilities.normabspath(fname)) |
144 cmd = "{0}{1}\n".format(SAOpenFile, Utilities.normabspath(fname)) |
145 self.sendCommand(cmd) |
145 self.sendCommand(cmd) |
146 |
146 |
147 def __openProject(self, pfname): |
147 def __openProject(self, pfname): |
148 """ |
148 """ |
149 Private method to open a project in the application server. |
149 Private method to open a project in the application server. |
150 |
150 |
151 @param pfname name of the projectfile to be opened (string) |
151 @param pfname name of the projectfile to be opened (string) |
152 """ |
152 """ |
153 cmd = "%s%s\n" % (SAOpenProject, Utilities.normabspath(pfname)) |
153 cmd = "{0}{1}\n".format(SAOpenProject, Utilities.normabspath(pfname)) |
154 self.sendCommand(cmd) |
154 self.sendCommand(cmd) |
155 |
155 |
156 def __sendArguments(self, argsStr): |
156 def __sendArguments(self, argsStr): |
157 """ |
157 """ |
158 Private method to set the command arguments in the application server. |
158 Private method to set the command arguments in the application server. |
159 |
159 |
160 @param argsStr space delimited list of command args (string) |
160 @param argsStr space delimited list of command args (string) |
161 """ |
161 """ |
162 cmd = "%s%s\n" % (SAArguments, argsStr) |
162 cmd = "{0}{1}\n".format(SAArguments, argsStr) |
163 self.sendCommand(cmd) |
163 self.sendCommand(cmd) |