Ticket #6142: ps.patch

File ps.patch, 0.5 kB (added by gdesmott, 7 years ago)
  • src/buddy.py

    diff --git a/src/buddy.py b/src/buddy.py
    index 4b8f76d..5be2725 100644
    a b  
    568568        self.set_properties(props) 
    569569        # If the properties didn't contain the key or color, then we're never 
    570570        # going to get one. 
     571 
     572        # Buddy need a key to be valid 
     573        if self._key is None: 
     574            return 
     575 
    571576        try: 
    572577            self._awaiting.remove('properties') 
    573578        except KeyError: