10300:60e8f2175b3b | 10301:b4299b82fe37 |
---|---|
94 | 94 |
95 def __init__(self): | 95 def __init__(self): |
96 """ | 96 """ |
97 Constructor | 97 Constructor |
98 """ | 98 """ |
99 SingleApplicationClient.__init__(self, SAFile) | 99 super.__init__(SAFile) |
100 | 100 |
101 def processArgs(self, args): | 101 def processArgs(self, args): |
102 """ | 102 """ |
103 Public method to process the command line args passed to the UI. | 103 Public method to process the command line args passed to the UI. |
104 | 104 |
110 | 110 |
111 uiFiles = [] | 111 uiFiles = [] |
112 qmFiles = [] | 112 qmFiles = [] |
113 | 113 |
114 for arg in args: | 114 for arg in args: |
115 ext = os.path.splitext(arg)[1] | 115 ext = os.path.splitext(arg)[1].lower() |
116 ext = ext.lower() | |
117 | 116 |
118 if ext == ".ui": | 117 if ext == ".ui": |
119 uiFiles.append(arg) | 118 uiFiles.append(arg) |
120 elif ext == ".qm": | 119 elif ext == ".qm": |
121 qmFiles.append(arg) | 120 qmFiles.append(arg) |