Changeset 7701:957524edbf46


Ignore:
Timestamp:
09/12/07 02:56:35 (6 years ago)
Author:
Robert Bradshaw <robertwb@…>
Branch:
default
Message:

cleanup cube call (wasn't getting killed before)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/interfaces/rubik.py

    r7700 r7701  
    216216                    extra_time = 0 
    217217            # format the string into our notation 
     218            child.close(True) 
    218219            return ' '.join([self.rot_map[m[0]]+str(4-int(m[1])) for m in reversed(sol.split(' '))]).replace('1', '').replace('3',"'")                    
    219220        elif ix == 1: 
    220221            # invalid format 
     222            child.close(True) 
    221223            raise ValueError, child.before 
    222224        else: 
     225            child.close(True) 
    223226            raise RuntimeError, "timeout" 
    224227             
Note: See TracChangeset for help on using the changeset viewer.