1. Peter Hosey
  2. configure-hgrc

Commits

Peter Hosey  committed fab5384

Covered an exception so that the program works correctly with an empty value.

  • Participants
  • Parent commits 3cf4bbb
  • Branches default

Comments (0)

Files changed (1)

File configure-hgrc.py

View file
 				value = 'False'
 
 	if value == '':
-		value = attributes.get('default', '')
+		try:
+			value = attributes.get('default', '')
+		except AttributeError:
+			pass
 
 	return value