Redefined variable type
Marked places where redefining variable type was actually sensible as such.
This commit is contained in:
		
							parent
							
								
									0115c931d2
								
							
						
					
					
						commit
						59a9b7da40
					
				| @ -179,7 +179,7 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings, | ||||
| 
 | ||||
| 
 | ||||
|     def __init_mem_defaults__(self): | ||||
| 
 | ||||
|     # pylint: disable=redefined-variable-type | ||||
|         #qmemman settings | ||||
|         self.qmemman_config = ConfigParser() | ||||
|         self.vm_min_mem_val = '200MiB'  #str(qmemman_algo.MIN_PREFMEM) | ||||
|  | ||||
| @ -65,7 +65,7 @@ def prepare_choice(widget, holder, propname, choice, default, | ||||
|         choice_list = filter(_filter_internal, choice_list) | ||||
|     if filter_function is not None: | ||||
|         choice_list = filter(filter_function, choice_list) | ||||
|     choice_list = list(choice_list) | ||||
|     choice_list = list(choice_list) # pylint: disable=redefined-variable-type | ||||
| 
 | ||||
|     if allow_default: | ||||
|         choice_list.insert(0, qubesadmin.DEFAULT) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marta Marczykowska-Górecka
						Marta Marczykowska-Górecka