keyword: declare globals in a more compact way
authorChristian Ebert <blacktrash@gmx.net>
Sat, 09 Feb 2008 22:50:53 +0100
changeset 6070 5fd126d1adf8
parent 6069 212bfb5c50e1
child 6071 127c973e4499
keyword: declare globals in a more compact way
hgext/keyword.py
--- a/hgext/keyword.py	Sat Feb 09 22:37:51 2008 +0100
+++ b/hgext/keyword.py	Sat Feb 09 22:50:53 2008 +0100
@@ -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__