193 self.hasChildren = True |
193 self.hasChildren = True |
194 |
194 |
195 elif dtype == "Shiboken.EnumType": |
195 elif dtype == "Shiboken.EnumType": |
196 self.hasChildren = True |
196 self.hasChildren = True |
197 |
197 |
198 elif dtype in ['str', 'unicode']: |
198 elif dtype == 'str': |
199 if VariableItem.rx_nonprintable.search(dvalue) is None: |
199 if VariableItem.rx_nonprintable.search(dvalue) is None: |
200 try: |
200 try: |
201 dvalue = ast.literal_eval(dvalue) |
201 dvalue = ast.literal_eval(dvalue) |
202 except Exception: # secok |
202 except Exception: # secok |
203 pass |
203 pass |