correctly detect when GnomeKeyring is not installed
This commit is contained in:
		
							parent
							
								
									d5ee84a329
								
							
						
					
					
						commit
						c8f8a8b6d1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -202,7 +202,7 @@ def get_storage():
 | 
			
		|||
                gir = __import__('gi.repository', globals(), locals(),
 | 
			
		||||
                    ['GnomeKeyring'], 0)
 | 
			
		||||
                GnomeKeyring = gir.GnomeKeyring
 | 
			
		||||
            except ImportError:
 | 
			
		||||
            except (ImportError, AttributeError):
 | 
			
		||||
                pass
 | 
			
		||||
            else:
 | 
			
		||||
                global USER_HAS_GNOMEKEYRING
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue