changeset 225:13fa7c91a496

Style: Put the "constants" block before cmdtable et al.
author Franz Glasner <f.glasner@feldmann-mg.com>
date Mon, 22 Oct 2018 13:08:10 +0200
parents a1f85255134a
children 04a90432e9e7
files extensions/timestamps.py
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/timestamps.py	Mon Oct 22 09:39:30 2018 +0200
+++ b/extensions/timestamps.py	Mon Oct 22 13:08:10 2018 +0200
@@ -76,12 +76,6 @@
 from mercurial import merge as _mergemod
 
 
-cmdtable = {}
-
-command = cmdutil.command(cmdtable)
-
-testedwith = "4.5.2 4.6.1"
-
 TIMESTAMPS_CONFIGFILE = ".hgtimestamps"
 TIMESTAMPS_DATABASE = TIMESTAMPS_CONFIGFILE + ".db"
 TIMESTAMPS_DEFAULT_VERSION = 1
@@ -92,6 +86,13 @@
 _DEV = True
 
 
+cmdtable = {}
+
+command = cmdutil.command(cmdtable)
+
+testedwith = "4.5.2 4.6.1"
+
+
 def getversion():
     """Provide the version information for verbose :hg:`version` output.