[PATCH 2 of 2] keyword: declare globals in a more compact way

Christian Ebert blacktrash at gmx.net
Sat Feb 9 15:52:01 CST 2008


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1202593853 -3600
# Node ID 86e96399535ae4984cafd187daf2753bd72c154e
# Parent  c5f67cdac17f35b19ba85f4477e89e5a9a6d19a1
keyword: declare globals in a more compact way

diff --git a/hgext/keyword.py b/hgext/keyword.py
--- a/hgext/keyword.py
+++ b/hgext/keyword.py
@@ -99,7 +99,7 @@
     return time.strftime('%Y/%m/%d %H:%M:%S', time.gmtime(date[0]))
 
 
-_kwtemplater, _cmd, _cmdoptions = None, None, None
+_kwtemplater = _cmd = _cmdoptions = None
  
 # store originals of monkeypatches
 _patchfile_init = patch.patchfile.__init__


More information about the Mercurial-devel mailing list