comparison mercurial/util.py @ 7644:182b7114d35a

error: move SignalInterrupt now derived from KeyboardInterrupt to simplify catches
author Matt Mackall <mpm@selenic.com>
date Mon, 12 Jan 2009 11:48:05 -0600
parents d2f753830f80
children e62a456b8dc5
comparison
equal deleted inserted replaced
7643:9a1ea6587557 7644:182b7114d35a
182 "%Y", 182 "%Y",
183 "%Y-%m", 183 "%Y-%m",
184 "%b", 184 "%b",
185 "%b %Y", 185 "%b %Y",
186 ) 186 )
187
188 class SignalInterrupt(Exception):
189 """Exception raised on SIGTERM and SIGHUP."""
190 187
191 # differences from SafeConfigParser: 188 # differences from SafeConfigParser:
192 # - case-sensitive keys 189 # - case-sensitive keys
193 # - allows values that are not strings (this means that you may not 190 # - allows values that are not strings (this means that you may not
194 # be able to save the configuration to a file) 191 # be able to save the configuration to a file)