diff python/hgrc.py @ 469:764535e1f991

python/hgrc.py
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 10 Aug 2013 18:54:29 -0700
parents 4853551536d6
children 949ca4b2f2d1
line wrap: on
line diff
--- a/python/hgrc.py	Sat Aug 10 18:52:46 2013 -0700
+++ b/python/hgrc.py	Sat Aug 10 18:54:29 2013 -0700
@@ -56,7 +56,7 @@
                         )
     actions = dict([(name, getattr(options, name))
                     for name in available_actions
-                    if getattr(options, name) is not None])
+                    if getattr(options, name)])
     if not actions:
         actions = {'default_push_ssh': True}