116 basePackage = "" |
116 basePackage = "" |
117 includePrivate = False |
117 includePrivate = False |
118 progLanguages = [] |
118 progLanguages = [] |
119 extensions = [] |
119 extensions = [] |
120 |
120 |
121 # Set the applications string encoding |
|
122 try: |
|
123 sys.setappdefaultencoding(str(Preferences.getSystem("StringEncoding"))) |
|
124 except AttributeError: |
|
125 pass |
|
126 |
|
127 for k, v in opts: |
121 for k, v in opts: |
128 if k in ["-o", "--output"]: |
122 if k in ["-o", "--output"]: |
129 outputFileName = v |
123 outputFileName = v |
130 elif k in ["-R", "-r", "--recursive"]: |
124 elif k in ["-R", "-r", "--recursive"]: |
131 recursive = True |
125 recursive = True |